Skip to content

Commit

Permalink
hostap: fix section mismatch warning
Browse files Browse the repository at this point in the history
Fix section mismatch warning:

WARNING: vmlinux.o(.data+0x36fcc): Section mismatch: reference to .init.data:prism2_pci_id_table (between 'prism2_pci_drv_id' and 'prism2_pci_funcs')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Randy Dunlap authored and Jeff Garzik committed Nov 10, 2007
1 parent 453a3fb commit 2493d8e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wireless/hostap/hostap_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static int prism2_pci_resume(struct pci_dev *pdev)

MODULE_DEVICE_TABLE(pci, prism2_pci_id_table);

static struct pci_driver prism2_pci_drv_id = {
static struct pci_driver prism2_pci_driver = {
.name = "hostap_pci",
.id_table = prism2_pci_id_table,
.probe = prism2_pci_probe,
Expand All @@ -458,13 +458,13 @@ static struct pci_driver prism2_pci_drv_id = {

static int __init init_prism2_pci(void)
{
return pci_register_driver(&prism2_pci_drv_id);
return pci_register_driver(&prism2_pci_driver);
}


static void __exit exit_prism2_pci(void)
{
pci_unregister_driver(&prism2_pci_drv_id);
pci_unregister_driver(&prism2_pci_driver);
}


Expand Down

0 comments on commit 2493d8e

Please sign in to comment.