2008-11-10 17:57:27

by Johannes Berg

[permalink] [raw]
Subject: [PATCH] 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 <[email protected]>
---
resend, forgot the list

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

--- everything.orig/drivers/net/wireless/ath5k/base.c 2008-11-10 18:54:15.000000000 +0100
+++ everything/drivers/net/wireless/ath5k/base.c 2008-11-10 18:54:26.000000000 +0100
@@ -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),




2008-11-10 18:02:06

by Nick Kossifidis

[permalink] [raw]
Subject: Re: [PATCH] ath5k: name pci driver "ath5k" too

2008/11/10 Johannes Berg <[email protected]>:
> Call the ath5k pci driver struct "ath5k" too to be less
> confusing in sysfs.
>
> Signed-off-by: Johannes Berg <[email protected]>
> ---
> resend, forgot the list
>
> drivers/net/wireless/ath5k/base.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- everything.orig/drivers/net/wireless/ath5k/base.c 2008-11-10 18:54:15.000000000 +0100
> +++ everything/drivers/net/wireless/ath5k/base.c 2008-11-10 18:54:26.000000000 +0100
> @@ -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: Nick Kossifidis <[email protected]>

--
GPG ID: 0xD21DB2DB
As you read this post global entropy rises. Have Fun ;-)
Nick