| Date | Sun, 29 Jul 2007 16:59:28 +0200 | From | Adrian Bunk <> | Subject | [-mm patch] export v4l2_int_device_{,un}register |
| |
On Wed, Jul 25, 2007 at 04:03:04AM -0700, Andrew Morton wrote: >... > Changes since 2.6.22-rc6-mm1: >... > git-dvb.patch >... > git trees >...
This patch fixes the following build error:
<-- snip -->
... MODPOST 2135 modules ERROR: "v4l2_int_device_register" [drivers/media/video/tcm825x.ko] undefined! ERROR: "v4l2_int_device_unregister" [drivers/media/video/tcm825x.ko] undefined! make[2]: *** [__modpost] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
drivers/media/video/v4l2-int-device.c | 2 ++ 1 file changed, 2 insertions(+)
--- linux-2.6.23-rc1-mm1/drivers/media/video/v4l2-int-device.c.old 2007-07-27 14:03:33.000000000 +0200 +++ linux-2.6.23-rc1-mm1/drivers/media/video/v4l2-int-device.c 2007-07-27 14:04:03.000000000 +0200 @@ -101,6 +101,7 @@ return 0; } +EXPORT_SYMBOL_GPL(v4l2_int_device_register); void v4l2_int_device_unregister(struct v4l2_int_device *d) { @@ -114,6 +115,7 @@ } mutex_unlock(&mutex); } +EXPORT_SYMBOL_GPL(v4l2_int_device_unregister); /* Adapted from search_extable in extable.c. */ static v4l2_int_ioctl_func *find_ioctl(struct v4l2_int_slave *slave, int cmd, - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|