Skip to contentSkip to conversation

make em28xx-dvb.c:register_dvb() static

PATCH New Adrian Bunk 1 participant 1 message Apr 28, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make em28xx-dvb.c:register_dvb() static

This patch makes the needlessly global register_dvb() static.

---
72255e23e002cff5a8c8b2b6bf6c166340fc1a09 diff --git a/drivers/media/video/em28xx/em28xx-dvb.c b/drivers/media/video/em28xx/em28xx-dvb.c index 7df8157..8af318e 100644

drivers/media/video/em28xx/em28xx-dvb.c +4 -4
@@ -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;