瀏覽代碼

V4L/DVB (5940): Export v4l2_int_device_{, un}register

This patch fixes the following build error:

<--  snip  -->

...
  MODPOST 2135 modules
make[2]: *** [__modpost] Error 1

<--  snip  -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Adrian Bunk 18 年之前
父節點
當前提交
261efd12fc
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      drivers/media/video/v4l2-int-device.c

+ 2 - 0
drivers/media/video/v4l2-int-device.c

@@ -101,6 +101,7 @@ int v4l2_int_device_register(struct v4l2_int_device *d)
 
 
 	return 0;
 	return 0;
 }
 }
+EXPORT_SYMBOL_GPL(v4l2_int_device_register);
 
 
 void v4l2_int_device_unregister(struct v4l2_int_device *d)
 void v4l2_int_device_unregister(struct v4l2_int_device *d)
 {
 {
@@ -114,6 +115,7 @@ void v4l2_int_device_unregister(struct v4l2_int_device *d)
 	}
 	}
 	mutex_unlock(&mutex);
 	mutex_unlock(&mutex);
 }
 }
+EXPORT_SYMBOL_GPL(v4l2_int_device_unregister);
 
 
 /* Adapted from search_extable in extable.c. */
 /* Adapted from search_extable in extable.c. */
 static v4l2_int_ioctl_func *find_ioctl(struct v4l2_int_slave *slave, int cmd,
 static v4l2_int_ioctl_func *find_ioctl(struct v4l2_int_slave *slave, int cmd,