aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2011-10-30 10:17:11 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2011-10-30 10:16:46 -0400
commitc4736d968254d71eba6814b2234a4e63f40aca15 (patch)
tree8cac3862aa0071046ffb993c465cca664bd922a7 /drivers/s390/net
parent399c1d8dbfdcf46977fd2e2a833b02e18a284810 (diff)
[S390] sparse: fix sparse static warnings
Make functions and data static to avoid sparse warnings. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/net')
-rw-r--r--drivers/s390/net/ctcm_sysfs.c2
-rw-r--r--drivers/s390/net/lcs.c2
-rw-r--r--drivers/s390/net/qeth_l3_main.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/net/ctcm_sysfs.c b/drivers/s390/net/ctcm_sysfs.c
index 8305319b2a84..650aec1839e9 100644
--- a/drivers/s390/net/ctcm_sysfs.c
+++ b/drivers/s390/net/ctcm_sysfs.c
@@ -159,7 +159,7 @@ static ssize_t ctcm_proto_store(struct device *dev,
159 return count; 159 return count;
160} 160}
161 161
162const char *ctcm_type[] = { 162static const char *ctcm_type[] = {
163 "not a channel", 163 "not a channel",
164 "CTC/A", 164 "CTC/A",
165 "FICON channel", 165 "FICON channel",
diff --git a/drivers/s390/net/lcs.c b/drivers/s390/net/lcs.c
index 05fb3f7c7289..c28713da1ec5 100644
--- a/drivers/s390/net/lcs.c
+++ b/drivers/s390/net/lcs.c
@@ -1970,7 +1970,7 @@ lcs_portno_store (struct device *dev, struct device_attribute *attr, const char
1970 1970
1971static DEVICE_ATTR(portno, 0644, lcs_portno_show, lcs_portno_store); 1971static DEVICE_ATTR(portno, 0644, lcs_portno_show, lcs_portno_store);
1972 1972
1973const char *lcs_type[] = { 1973static const char *lcs_type[] = {
1974 "not a channel", 1974 "not a channel",
1975 "2216 parallel", 1975 "2216 parallel",
1976 "2216 channel", 1976 "2216 channel",
diff --git a/drivers/s390/net/qeth_l3_main.c b/drivers/s390/net/qeth_l3_main.c
index ce735204d317..e4c1176ee25b 100644
--- a/drivers/s390/net/qeth_l3_main.c
+++ b/drivers/s390/net/qeth_l3_main.c
@@ -1415,7 +1415,7 @@ static int qeth_l3_send_checksum_command(struct qeth_card *card)
1415 return 0; 1415 return 0;
1416} 1416}
1417 1417
1418int qeth_l3_set_rx_csum(struct qeth_card *card, int on) 1418static int qeth_l3_set_rx_csum(struct qeth_card *card, int on)
1419{ 1419{
1420 int rc = 0; 1420 int rc = 0;
1421 1421