Commit f6bd19e0 authored by Ana Rey's avatar Ana Rey Committed by Peter P Waskiewicz Jr

staging: rtl8192u: make in r8180_93cx6.c some local functions static

Make some local functions (eprom_cs, eprom_ck_cycle, eprom_w, eprom_r
and eprom_send_bits_string) static

Fix the following sparse warnings in r8180_93cx6.c

drivers/staging/rtl8192u/r8180_93cx6.c:23:6: warning: symbol 'eprom_cs' was not declared. Should it be static?
drivers/staging/rtl8192u/r8180_93cx6.c:40:6: warning: symbol 'eprom_ck_cycle' was not declared. Should it be static?
drivers/staging/rtl8192u/r8180_93cx6.c:56:6: warning: symbol 'eprom_w' was not declared. Should it be static?
drivers/staging/rtl8192u/r8180_93cx6.c:71:7: warning: symbol 'eprom_r' was not declared. Should it be static?
drivers/staging/rtl8192u/r8180_93cx6.c:85:6: warning: symbol 'eprom_send_bits_string' was not declared. Should it be static?
Signed-off-by: default avatarAna Rey <anarey@gmail.com>
Signed-off-by: default avatarPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
parent f4c6074a
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "r8180_93cx6.h" #include "r8180_93cx6.h"
void eprom_cs(struct net_device *dev, short bit) static void eprom_cs(struct net_device *dev, short bit)
{ {
u8 cmdreg; u8 cmdreg;
...@@ -37,7 +37,7 @@ void eprom_cs(struct net_device *dev, short bit) ...@@ -37,7 +37,7 @@ void eprom_cs(struct net_device *dev, short bit)
} }
void eprom_ck_cycle(struct net_device *dev) static void eprom_ck_cycle(struct net_device *dev)
{ {
u8 cmdreg; u8 cmdreg;
...@@ -53,7 +53,7 @@ void eprom_ck_cycle(struct net_device *dev) ...@@ -53,7 +53,7 @@ void eprom_ck_cycle(struct net_device *dev)
} }
void eprom_w(struct net_device *dev,short bit) static void eprom_w(struct net_device *dev,short bit)
{ {
u8 cmdreg; u8 cmdreg;
...@@ -68,7 +68,7 @@ void eprom_w(struct net_device *dev,short bit) ...@@ -68,7 +68,7 @@ void eprom_w(struct net_device *dev,short bit)
} }
short eprom_r(struct net_device *dev) static short eprom_r(struct net_device *dev)
{ {
u8 bit; u8 bit;
...@@ -82,7 +82,7 @@ short eprom_r(struct net_device *dev) ...@@ -82,7 +82,7 @@ short eprom_r(struct net_device *dev)
} }
void eprom_send_bits_string(struct net_device *dev, short b[], int len) static void eprom_send_bits_string(struct net_device *dev, short b[], int len)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment