]> git.baikalelectronics.ru Git - kernel.git/commit
staging: et131x: Fix et131x sparse warnings
authorMark Einon <mark.einon@gmail.com>
Mon, 10 Oct 2011 15:21:11 +0000 (16:21 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 11 Oct 2011 16:10:29 +0000 (10:10 -0600)
commitdfc966dca8b4683d183001fa40eaf28fff0d6a09
tree33ed775da413e11fe78f19ea9251ea8f1a0168fb
parent0cb63b5068202e7e5e4bc82bbf4f9c69246480ad
staging: et131x: Fix et131x sparse warnings

This fixes the following warnings:

et1310_mac.c:375:44: warning: incorrect type in initializer (different address spaces)
et1310_mac.c:382:28: warning: incorrect type in argument 2 (different address spaces)
et1310_mac.c:384:31: warning: incorrect type in argument 2 (different address spaces)
et131x_initpci.c:555:5: warning: symbol 'et131x_mii_probe' was not declared. Should it be static?
et131x_netdev.c:267:5: warning: symbol 'et131x_ioctl' was not declared. Should it be static?
et131x_netdev.c:285:5: warning: symbol 'et131x_set_packet_filter' was not declared. Should it be static?
et131x_netdev.c:347:6: warning: symbol 'et131x_multicast' was not declared. Should it be static?
et131x_netdev.c:420:5: warning: symbol 'et131x_tx' was not declared. Should it be static?
et131x_netdev.c:453:6: warning: symbol 'et131x_tx_timeout' was not declared. Should it be static?
et131x_netdev.c:511:5: warning: symbol 'et131x_change_mtu' was not declared. Should it be static?
et131x_netdev.c:564:5: warning: symbol 'et131x_set_mac_addr' was not declared. Should it be static?

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et1310_mac.c
drivers/staging/et131x/et131x_initpci.c
drivers/staging/et131x/et131x_netdev.c