]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ath5k: Fix modinfo does not list alias -> pci-id lines
authorSedat Dilek <sedat.dilek@gmail.com>
Tue, 7 Dec 2010 21:35:50 +0000 (22:35 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 9 Dec 2010 13:53:42 +0000 (08:53 -0500)
The AHB bus support patchset moved the table "Known PCI ids" from base.c
to pci.c - unfortunately, MODULE_DEVICE_TABLE() was not transferred.
With this fix 'modinfo ath5k' lists the alias -> pci-id lines, again.

The issue was introduced by:
   commit e5b046d86fac609f636d127a38de94a175c7e83b
   "ath5k: Move PCI bus functions to separate file."

Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/pci.c

index 39f033128c5aeed25901b6c5967fca47d76dc535..7f8c5b0e9d2a78e011ecee22701363c7db8fb66a 100644 (file)
@@ -45,6 +45,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath5k_pci_id_table) = {
        { PCI_VDEVICE(ATHEROS, 0x001d) }, /* 2417 Nala */
        { 0 }
 };
+MODULE_DEVICE_TABLE(pci, ath5k_pci_id_table);
 
 /* return bus cachesize in 4B word units */
 static void ath5k_pci_read_cachesize(struct ath_common *common, int *csz)