aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-26 03:15:03 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-26 03:15:03 -0500
commit6dd014808f91ad99d4d794cf7c7c69610c10f904 (patch)
treec271d8c7df97e3c73bc55df2bf0b5b2ff172eb9d /drivers/net
parenta3d1fd23e1ff2deeda0415805cf9a044dda7f55c (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.c8
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
96int 96static int
97prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) 97prism54_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)
216static volatile int __in_cleanup_module = 0; 216static volatile int __in_cleanup_module = 0;
217 217
218/* this one removes one(!!) instance only */ 218/* this one removes one(!!) instance only */
219void 219static void
220prism54_remove(struct pci_dev *pdev) 220prism54_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
262int 262static int
263prism54_suspend(struct pci_dev *pdev, pm_message_t state) 263prism54_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
285int 285static int
286prism54_resume(struct pci_dev *pdev) 286prism54_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);