[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20080428153914.GN2813@cs181133002.pp.htv.fi>
Date: Mon, 28 Apr 2008 18:39:14 +0300
From: Adrian Bunk <bunk@...nel.org>
To: Aidan Thornton <makosoft@...glemail.com>,
Mauro Carvalho Chehab <mchehab@...radead.org>
Cc: v4l-dvb-maintainer@...uxtv.org, linux-kernel@...r.kernel.org
Subject: [2.6 patch] make em28xx-dvb.c:register_dvb() static
This patch makes the needlessly global register_dvb() static.
Signed-off-by: Adrian Bunk <bunk@...nel.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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists