Skip to contentSkip to conversation

move EXPORT_SYMBOL(bttv_i2c_call)

PATCH In review Adrian Bunk 2 participants 2 messages Nov 16, 2004 – Nov 17, 2004 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 move EXPORT_SYMBOL(bttv_i2c_call)

The patch below moves the EXPORT_SYMBOL(bttv_i2c_call) to the file where the actual function is.

drivers/media/video/bttv-i2c.c renamed from drivers/media/video/bttv-i2c.c.old +1 -0
@@ -333,6 +333,7 @@
 		return;
 	bttv_call_i2c_clients(&bttvs[card], cmd, arg);
 }
+EXPORT_SYMBOL(bttv_i2c_call);
 
 static struct i2c_client bttv_i2c_client_template = {
 	I2C_DEVNAME("bttv internal"),
drivers/media/video/bttv-if.c renamed from drivers/media/video/bttv-if.c.old +0 -1
@@ -41,7 +41,6 @@
 EXPORT_SYMBOL(bttv_read_gpio);
 EXPORT_SYMBOL(bttv_write_gpio);
 EXPORT_SYMBOL(bttv_get_gpio_queue);
-EXPORT_SYMBOL(bttv_i2c_call);
 
 /* ----------------------------------------------------------------------- */
 /* Exported functions - for other modules which want to access the         */
#1 lore raw
Quoted 2 lines · Adrian Bunk

The patch below moves the EXPORT_SYMBOL(bttv_i2c_call) to the file where the actual function is.

Should be the other way around: bttv_i2c_call() belongs into bttv-if.c. Done in cvs.

Gerd

Signature · 1 line
#define printk(args...) fprintf(stderr, ## args)