summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2008-11-10 17:56:59 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2008-11-25 21:32:53 (GMT)
commit9764f3f9c3700620f9f8a1f9af57f58758e835da (patch)
treea272b8196bb7dc54a8948a7c925764bc6dfafb73
parent2f9889a20cd2854bc6305198255c617b0b4eb719 (diff)
downloadlinux-9764f3f9c3700620f9f8a1f9af57f58758e835da.tar.xz
ath5k: name pci driver "ath5k" too
Call the ath5k pci driver struct "ath5k" too to be less confusing in sysfs. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath5k/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/base.c b/drivers/net/wireless/ath5k/base.c
index 34cd1a4..7fdb59c 100644
--- a/drivers/net/wireless/ath5k/base.c
+++ b/drivers/net/wireless/ath5k/base.c
@@ -200,7 +200,7 @@ static int ath5k_pci_resume(struct pci_dev *pdev);
#endif /* CONFIG_PM */
static struct pci_driver ath5k_pci_driver = {
- .name = "ath5k_pci",
+ .name = KBUILD_MODNAME,
.id_table = ath5k_pci_id_table,
.probe = ath5k_pci_probe,
.remove = __devexit_p(ath5k_pci_remove),