The symbols dt3155_dev_open, unique_tag, and allocatorAddr are only used in
the file dt3155_drv.c and should be static.

Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Scott Smedley <[email protected]>

---

diff --git a/drivers/staging/dt3155/dt3155_drv.c 
b/drivers/staging/dt3155/dt3155_drv.c
index 9e7b880..49924d0 100644
--- a/drivers/staging/dt3155/dt3155_drv.c
+++ b/drivers/staging/dt3155/dt3155_drv.c
@@ -118,14 +118,14 @@ static void __iomem *dt3155_lbase[MAXBOARDS] = { NULL
 #endif
 };
 
-u32  dt3155_dev_open[MAXBOARDS] = {0
+static u32  dt3155_dev_open[MAXBOARDS] = {0
 #if MAXBOARDS == 2
                                       , 0
 #endif
 };
 
 u32  ndevices = 0;
-u32 unique_tag = 0;;
+static u32 unique_tag = 0;;
 
 
 /*
@@ -937,7 +937,7 @@ err:
   return -EIO;
 }
 
-u32 allocatorAddr = 0;
+static u32 allocatorAddr = 0;
 
 
 int dt3155_init(void)
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to