ath5k: fix section mismatch warning
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
3eadf5f4f6
commit
04a9e451fd
1 changed files with 3 additions and 3 deletions
|
@ -153,7 +153,7 @@ static int ath5k_pci_resume(struct pci_dev *pdev);
|
||||||
#define ath5k_pci_resume NULL
|
#define ath5k_pci_resume NULL
|
||||||
#endif /* CONFIG_PM */
|
#endif /* CONFIG_PM */
|
||||||
|
|
||||||
static struct pci_driver ath5k_pci_drv_id = {
|
static struct pci_driver ath5k_pci_driver = {
|
||||||
.name = "ath5k_pci",
|
.name = "ath5k_pci",
|
||||||
.id_table = ath5k_pci_id_table,
|
.id_table = ath5k_pci_id_table,
|
||||||
.probe = ath5k_pci_probe,
|
.probe = ath5k_pci_probe,
|
||||||
|
@ -329,7 +329,7 @@ init_ath5k_pci(void)
|
||||||
|
|
||||||
ath5k_debug_init();
|
ath5k_debug_init();
|
||||||
|
|
||||||
ret = pci_register_driver(&ath5k_pci_drv_id);
|
ret = pci_register_driver(&ath5k_pci_driver);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printk(KERN_ERR "ath5k_pci: can't register pci driver\n");
|
printk(KERN_ERR "ath5k_pci: can't register pci driver\n");
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -341,7 +341,7 @@ init_ath5k_pci(void)
|
||||||
static void __exit
|
static void __exit
|
||||||
exit_ath5k_pci(void)
|
exit_ath5k_pci(void)
|
||||||
{
|
{
|
||||||
pci_unregister_driver(&ath5k_pci_drv_id);
|
pci_unregister_driver(&ath5k_pci_driver);
|
||||||
|
|
||||||
ath5k_debug_finish();
|
ath5k_debug_finish();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue