aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2007-05-27 13:57:11 -0400
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-05-27 15:01:14 -0400
commit6fe077fd381048293134fbc6011d7e4633edc0c5 (patch)
tree42ca620f77b7e1e73b265f6d1c5e67be61905205 /drivers/parisc
parente9541d0ca2a5d713c5d8dcb635d3f41e75c90bfb (diff)
[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 <deller@gmx.de> Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'drivers/parisc')
-rw-r--r--drivers/parisc/eisa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/parisc/eisa.c b/drivers/parisc/eisa.c
index 309076b39853..771cef592542 100644
--- a/drivers/parisc/eisa.c
+++ b/drivers/parisc/eisa.c
@@ -307,7 +307,7 @@ static void init_eisa_pic(void)
307 307
308#define is_mongoose(dev) (dev->id.sversion == 0x00076) 308#define is_mongoose(dev) (dev->id.sversion == 0x00076)
309 309
310static int __devinit eisa_probe(struct parisc_device *dev) 310static int __init eisa_probe(struct parisc_device *dev)
311{ 311{
312 int i, result; 312 int i, result;
313 313
@@ -387,7 +387,7 @@ static int __devinit eisa_probe(struct parisc_device *dev)
387 return 0; 387 return 0;
388} 388}
389 389
390static struct parisc_device_id eisa_tbl[] = { 390static const struct parisc_device_id eisa_tbl[] = {
391 { HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00076 }, /* Mongoose */ 391 { HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00076 }, /* Mongoose */
392 { HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00090 }, /* Wax EISA */ 392 { HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00090 }, /* Wax EISA */
393 { 0, } 393 { 0, }