Commit 6dd01480 authored by Hannes Eder's avatar Hannes Eder Committed by David S. Miller

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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a3d1fd23
...@@ -93,7 +93,7 @@ static struct pci_driver prism54_driver = { ...@@ -93,7 +93,7 @@ static struct pci_driver prism54_driver = {
Module initialization functions Module initialization functions
******************************************************************************/ ******************************************************************************/
int static int
prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ {
struct net_device *ndev; struct net_device *ndev;
...@@ -216,7 +216,7 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id) ...@@ -216,7 +216,7 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id)
static volatile int __in_cleanup_module = 0; static volatile int __in_cleanup_module = 0;
/* this one removes one(!!) instance only */ /* this one removes one(!!) instance only */
void static void
prism54_remove(struct pci_dev *pdev) prism54_remove(struct pci_dev *pdev)
{ {
struct net_device *ndev = pci_get_drvdata(pdev); struct net_device *ndev = pci_get_drvdata(pdev);
...@@ -259,7 +259,7 @@ prism54_remove(struct pci_dev *pdev) ...@@ -259,7 +259,7 @@ prism54_remove(struct pci_dev *pdev)
pci_disable_device(pdev); pci_disable_device(pdev);
} }
int static int
prism54_suspend(struct pci_dev *pdev, pm_message_t state) prism54_suspend(struct pci_dev *pdev, pm_message_t state)
{ {
struct net_device *ndev = pci_get_drvdata(pdev); struct net_device *ndev = pci_get_drvdata(pdev);
...@@ -282,7 +282,7 @@ prism54_suspend(struct pci_dev *pdev, pm_message_t state) ...@@ -282,7 +282,7 @@ prism54_suspend(struct pci_dev *pdev, pm_message_t state)
return 0; return 0;
} }
int static int
prism54_resume(struct pci_dev *pdev) prism54_resume(struct pci_dev *pdev)
{ {
struct net_device *ndev = pci_get_drvdata(pdev); struct net_device *ndev = pci_get_drvdata(pdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment