Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e52742deef04ed7babec0f5866c867dd15d449f0
Commit:     e52742deef04ed7babec0f5866c867dd15d449f0
Parent:     cbd9c883696da72b2b1f03f909dbacc04bbf8b58
Author:     Randy Dunlap <[EMAIL PROTECTED]>
AuthorDate: Thu Jan 10 14:31:30 2008 -0800
Committer:  John W. Linville <[EMAIL PROTECTED]>
CommitDate: Wed Jan 16 12:53:32 2008 -0500

    hostap: section mismatch warning
    
    Fix section mismatch by changing variable name to match one of the
    whitelisted (allowable) names for pointing into init data:
    
    WARNING: vmlinux.o(.data+0xce618): Section mismatch: reference to 
.init.data:prism2_plx_id_table (between 'prism2_plx_drv_id' and 'dev_info')
    
    Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
    Acked-by: Sam Ravnborg <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/hostap/hostap_plx.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/hostap/hostap_plx.c 
b/drivers/net/wireless/hostap/hostap_plx.c
index 040dc3e..cbf15d7 100644
--- a/drivers/net/wireless/hostap/hostap_plx.c
+++ b/drivers/net/wireless/hostap/hostap_plx.c
@@ -608,7 +608,7 @@ static void prism2_plx_remove(struct pci_dev *pdev)
 
 MODULE_DEVICE_TABLE(pci, prism2_plx_id_table);
 
-static struct pci_driver prism2_plx_drv_id = {
+static struct pci_driver prism2_plx_driver = {
        .name           = "hostap_plx",
        .id_table       = prism2_plx_id_table,
        .probe          = prism2_plx_probe,
@@ -618,13 +618,13 @@ static struct pci_driver prism2_plx_drv_id = {
 
 static int __init init_prism2_plx(void)
 {
-       return pci_register_driver(&prism2_plx_drv_id);
+       return pci_register_driver(&prism2_plx_driver);
 }
 
 
 static void __exit exit_prism2_plx(void)
 {
-       pci_unregister_driver(&prism2_plx_drv_id);
+       pci_unregister_driver(&prism2_plx_driver);
 }
 
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to