[2.6 patch] make em28xx-dvb.c:register_dvb() static

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Adrian Bunk
Date: Monday, April 28, 2008 - 8:39 am

This patch makes the needlessly global register_dvb() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
72255e23e002cff5a8c8b2b6bf6c166340fc1a09 diff --git a/drivers/media/video/em28xx/em28xx-dvb.c b/drivers/media/video/em28xx/em28xx-dvb.c
index 7df8157..8af318e 100644
--- a/drivers/media/video/em28xx/em28xx-dvb.c
+++ b/drivers/media/video/em28xx/em28xx-dvb.c
@@ -263,10 +263,10 @@ static int attach_xc3028(u8 addr, struct em28xx *dev)
 
 /* ------------------------------------------------------------------ */
 
-int register_dvb(struct em28xx_dvb *dvb,
-		 struct module *module,
-		 struct em28xx *dev,
-		 struct device *device)
+static int register_dvb(struct em28xx_dvb *dvb,
+			struct module *module,
+			struct em28xx *dev,
+			struct device *device)
 {
 	int result;
 

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6 patch] make em28xx-dvb.c:register_dvb() static, Adrian Bunk, (Mon Apr 28, 8:39 am)