lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@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;



\
 
 \ /
  Last update: 2008-04-28 17:47    [W:0.024 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site