Skip to contentSkip to conversation

ath5k: name pci driver "ath5k" too

PATCH In review Johannes Berg 2 participants 2 messages Nov 10, 2008 Networking drivers (wireless)

lore
Share & tools
lore

Johannes Berg

author maintainer
#0 lore raw

PATCH 1/1 ath5k: name pci driver "ath5k" too

Call the ath5k pci driver struct "ath5k" too to be less confusing in sysfs.

---
resend, forgot the list

 drivers/net/wireless/ath5k/base.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath5k/base.c +1 -1
@@ -200,7 +200,7 @@ static int		ath5k_pci_resume(struct pci_
 #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),
Acked-by on v1 1/1
#1 lore raw

2008/11/10 Johannes Berg <[email protected]>:

Quoted 16 lines

Call the ath5k pci driver struct "ath5k" too to be less confusing in sysfs.

---
resend, forgot the list

 drivers/net/wireless/ath5k/base.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/net/wireless/ath5k/base.c 2008-11-10 18:54:26.000000000 +0100 static int ath5k_pci_resume(struct pci_ · line 206

Quoted 8 lines
drivers/net/wireless/ath5k/base.c 2008-11-10 18:54:26.000000000 +0100 renamed from drivers/net/wireless/ath5k/base.c 2008-11-10 18:54:15.000000000 +0100 +1 -1
@@ -200,7 +200,7 @@ static int          ath5k_pci_resume(struct pci_
 #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),
Signature · 3 lines
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick