diff options
author | Sony Chacko <sony.chacko@qlogic.com> | 2013-01-02 18:10:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-03 04:50:39 -0500 |
commit | f8ca2b6f03499379926a3a4f20f3c193325949b3 (patch) | |
tree | 08b0d6f867013e3c8a65ec47c702c119c53508c2 /drivers/net/ethernet | |
parent | 47caf255244739459a76aad76cb6dacb28640cf3 (diff) |
qlcnic: fix build error
Fix the following error reported by kbuild test robot.
static declaration of 'qlcnic_restore_indev_addr' follows
non-static declaration.
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c index 3bdb1beaedd8..137ca13710af 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c | |||
@@ -3281,8 +3281,7 @@ static struct notifier_block qlcnic_inetaddr_cb = { | |||
3281 | .notifier_call = qlcnic_inetaddr_event, | 3281 | .notifier_call = qlcnic_inetaddr_event, |
3282 | }; | 3282 | }; |
3283 | #else | 3283 | #else |
3284 | static void | 3284 | void qlcnic_restore_indev_addr(struct net_device *dev, unsigned long event) |
3285 | qlcnic_restore_indev_addr(struct net_device *dev, unsigned long event) | ||
3286 | { } | 3285 | { } |
3287 | #endif | 3286 | #endif |
3288 | static struct pci_error_handlers qlcnic_err_handler = { | 3287 | static struct pci_error_handlers qlcnic_err_handler = { |