Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6fe077fd381048293134fbc6011d7e4633edc0c5
Commit:     6fe077fd381048293134fbc6011d7e4633edc0c5
Parent:     e9541d0ca2a5d713c5d8dcb635d3f41e75c90bfb
Author:     Helge Deller <[EMAIL PROTECTED]>
AuthorDate: Sun May 27 19:57:11 2007 +0200
Committer:  Kyle McMartin <[EMAIL PROTECTED]>
CommitDate: Sun May 27 15:01:14 2007 -0400

    [PARISC] fix section mismatch in parisc eisa driver
    
    Hi Kyle,
    
    this patch fixes the following section mismatch (EISA cards should be 
hotplug aware, but the EISA bus itself shouldn't):
    WARNING: drivers/built-in.o(.text.eisa_probe+0x220): Section mismatch: 
reference to .init.text:eisa_root_register (after 'eisa_probe')
    
    Please apply,
    Helge
    
    Signed-off-by: Helge Deller <[EMAIL PROTECTED]>
    Signed-off-by: Kyle McMartin <[EMAIL PROTECTED]>
---
 drivers/parisc/eisa.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/parisc/eisa.c b/drivers/parisc/eisa.c
index 309076b..771cef5 100644
--- a/drivers/parisc/eisa.c
+++ b/drivers/parisc/eisa.c
@@ -307,7 +307,7 @@ static void init_eisa_pic(void)
 
 #define is_mongoose(dev) (dev->id.sversion == 0x00076)
 
-static int __devinit eisa_probe(struct parisc_device *dev)
+static int __init eisa_probe(struct parisc_device *dev)
 {
        int i, result;
 
@@ -387,7 +387,7 @@ static int __devinit eisa_probe(struct parisc_device *dev)
        return 0;
 }
 
-static struct parisc_device_id eisa_tbl[] = {
+static const struct parisc_device_id eisa_tbl[] = {
        { HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00076 }, /* Mongoose 
*/
        { HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00090 }, /* Wax EISA 
*/
        { 0, }
-
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