move EXPORT_SYMBOL(bttv_i2c_call)
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.
Signed-off-by Adrian Bunk <[email protected]>
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 */
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)