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>
This commit is contained in:
parent
a3d1fd23e1
commit
6dd014808f
|
@ -93,7 +93,7 @@ static struct pci_driver prism54_driver = {
|
|||
Module initialization functions
|
||||
******************************************************************************/
|
||||
|
||||
int
|
||||
static int
|
||||
prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
{
|
||||
struct net_device *ndev;
|
||||
|
@ -216,7 +216,7 @@ prism54_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
|||
static volatile int __in_cleanup_module = 0;
|
||||
|
||||
/* this one removes one(!!) instance only */
|
||||
void
|
||||
static void
|
||||
prism54_remove(struct pci_dev *pdev)
|
||||
{
|
||||
struct net_device *ndev = pci_get_drvdata(pdev);
|
||||
|
@ -259,7 +259,7 @@ prism54_remove(struct pci_dev *pdev)
|
|||
pci_disable_device(pdev);
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
prism54_suspend(struct pci_dev *pdev, pm_message_t state)
|
||||
{
|
||||
struct net_device *ndev = pci_get_drvdata(pdev);
|
||||
|
@ -282,7 +282,7 @@ prism54_suspend(struct pci_dev *pdev, pm_message_t state)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
static int
|
||||
prism54_resume(struct pci_dev *pdev)
|
||||
{
|
||||
struct net_device *ndev = pci_get_drvdata(pdev);
|
||||
|
|
Loading…
Reference in New Issue