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

From: Adrian Bunk
Date: Mon Apr 28 2008 - 11:45:39 EST


This patch makes the needlessly global register_dvb() static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxxx>

---
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;


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/