[8/11] saa7134-core.c: make saa7134_devcount static

From: Adrian Bunk
Date: Mon Nov 08 2004 - 20:12:21 EST


saa7134_devcount in drivers/media/video/saa7134/saa7134-core.c currently
has no users outside of this file.


diffstat output:
drivers/media/video/saa7134/saa7134-core.c | 2 +-
drivers/media/video/saa7134/saa7134.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.10-rc1-mm3-full/drivers/media/video/saa7134/saa7134.h.old 2004-11-07 17:04:35.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/media/video/saa7134/saa7134.h 2004-11-07 17:04:42.000000000 +0100
@@ -446,7 +446,6 @@
/* saa7134-core.c */

extern struct list_head saa7134_devlist;
-extern unsigned int saa7134_devcount;

void saa7134_print_ioctl(char *name, unsigned int cmd);
void saa7134_track_gpio(struct saa7134_dev *dev, char *msg);
--- linux-2.6.10-rc1-mm3-full/drivers/media/video/saa7134/saa7134-core.c.old 2004-11-07 17:04:57.000000000 +0100
+++ linux-2.6.10-rc1-mm3-full/drivers/media/video/saa7134/saa7134-core.c 2004-11-07 17:05:24.000000000 +0100
@@ -95,7 +95,7 @@
MODULE_PARM_DESC(latency,"pci latency timer");

struct list_head saa7134_devlist;
-unsigned int saa7134_devcount;
+static unsigned int saa7134_devcount;

#define dprintk(fmt, arg...) if (core_debug) \
printk(KERN_DEBUG "%s/core: " fmt, dev->name , ## arg)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/