diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-26 03:15:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-26 03:15:03 -0500 |
commit | 6dd014808f91ad99d4d794cf7c7c69610c10f904 (patch) | |
tree | c271d8c7df97e3c73bc55df2bf0b5b2ff172eb9d /drivers/net | |
parent | a3d1fd23e1ff2deeda0415805cf9a044dda7f55c (diff) |
drivers/net/wireless/prism54: fix sparse warnings: make symbols static
Fix this sparse warnings:
drivers/net/wireless/prism54/islpci_hotplug.c:97:1: warning: symbol 'prism54_probe' was not declared. Should it be static?
drivers/net/wireless/prism54/islpci_hotplug.c:220:1: warning: symbol 'prism54_remove' was not declared. Should it be static?
drivers/net/wireless/prism54/islpci_hotplug.c:263:1: warning: symbol 'prism54_suspend' was not declared. Should it be static?
drivers/net/wireless/prism54/islpci_hotplug.c:286:1: warning: symbol 'prism54_resume' was not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/prism54/islpci_hotplug.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/prism54/islpci_hotplug.c b/drivers/net/wireless/prism54/islpci_hotplug.c index af2e4f2405f2..9a72b1e3e163 100644 --- a/drivers/net/wireless/prism54/islpci_hotplug.c +++ b/drivers/net/wireless/prism54/islpci_hotplug.c | |||
@@ -93,7 +93,7 @@ static struct pci_driver prism54_driver = { | |||
93 | Module initialization functions | 93 | Module initialization functions |
94 | ******************************************************************************/ | 94 | ******************************************************************************/ |
95 | 95 | ||
96 | int | 96 | static int |
97 | prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) | 97 | prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) |
98 | { | 98 | { |
99 | struct net_device *ndev; | 99 | struct net_device *ndev; |
@@ -216,7 +216,7 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
216 | static volatile int __in_cleanup_module = 0; | 216 | static volatile int __in_cleanup_module = 0; |
217 | 217 | ||
218 | /* this one removes one(!!) instance only */ | 218 | /* this one removes one(!!) instance only */ |
219 | void | 219 | static void |
220 | prism54_remove(struct pci_dev *pdev) | 220 | prism54_remove(struct pci_dev *pdev) |
221 | { | 221 | { |
222 | struct net_device *ndev = pci_get_drvdata(pdev); | 222 | struct net_device *ndev = pci_get_drvdata(pdev); |
@@ -259,7 +259,7 @@ prism54_remove(struct pci_dev *pdev) | |||
259 | pci_disable_device(pdev); | 259 | pci_disable_device(pdev); |
260 | } | 260 | } |
261 | 261 | ||
262 | int | 262 | static int |
263 | prism54_suspend(struct pci_dev *pdev, pm_message_t state) | 263 | prism54_suspend(struct pci_dev *pdev, pm_message_t state) |
264 | { | 264 | { |
265 | struct net_device *ndev = pci_get_drvdata(pdev); | 265 | struct net_device *ndev = pci_get_drvdata(pdev); |
@@ -282,7 +282,7 @@ prism54_suspend(struct pci_dev *pdev, pm_message_t state) | |||
282 | return 0; | 282 | return 0; |
283 | } | 283 | } |
284 | 284 | ||
285 | int | 285 | static int |
286 | prism54_resume(struct pci_dev *pdev) | 286 | prism54_resume(struct pci_dev *pdev) |
287 | { | 287 | { |
288 | struct net_device *ndev = pci_get_drvdata(pdev); | 288 | struct net_device *ndev = pci_get_drvdata(pdev); |