Skip to contentSkip to conversation

Export v4l2_int_device_{, un}register

PATCH In review Sakari Ailus 2 participants 2 messages Sep 11, 2007 – Sep 17, 2007 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Export v4l2_int_device_{, un}register

From: Adrian Bunk <[email protected]>

This patch fixes the following build error:

<-- snip -->

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

<-- snip -->

---
 drivers/media/video/v4l2-int-device.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/media/video/v4l2-int-device.c +2 -0
index 4ff17e3..f497c94 100644
@@ -101,6 +101,7 @@ int v4l2_int_device_register(struct v4l2_int_device *d)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(v4l2_int_device_register);
 
 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);
 }
+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,
Signature · 1 line
1.5.0.6
#1 lore raw
Quoted 32 lines · Sakari Ailus

From: Adrian Bunk <[email protected]>

This patch fixes the following build error:

<-- snip -->

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

<-- snip -->

---
 drivers/media/video/v4l2-int-device.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/media/video/v4l2-int-device.c +1 -0
index 4ff17e3..f497c94 100644
@@ -101,6 +101,7 @@ int v4l2_int_device_register(struct v4l2_int_device *d)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(v4l2_int_device_register);
 
 void v4l2_int_device_unregister(struct v4l2_int_device *d)
 {

drivers/media/video/v4l2-int-device.c void v4l2_int_device_unregister(struct v4l2_int_device *d) · line 121

Quoted 7 lines
drivers/media/video/v4l2-int-device.c +1 -0
@@ -114,6 +115,7 @@ void v4l2_int_device_unregister(struct v4l2_int_device *d)
 	}
 	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,

Pushing today.

Tony