summaryrefslogtreecommitdiffstats
path: root/drivers/parisc/eisa.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2007-05-27 19:57:11 +0200
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-05-27 15:01:14 -0400
commit6fe077fd381048293134fbc6011d7e4633edc0c5 (patch)
tree42ca620f77b7e1e73b265f6d1c5e67be61905205 /drivers/parisc/eisa.c
parente9541d0ca2a5d713c5d8dcb635d3f41e75c90bfb (diff)
downloadkernel-crypto-6fe077fd381048293134fbc6011d7e4633edc0c5.tar.gz
kernel-crypto-6fe077fd381048293134fbc6011d7e4633edc0c5.tar.xz
kernel-crypto-6fe077fd381048293134fbc6011d7e4633edc0c5.zip
[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/eisa.c')
-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 309076b3985..771cef59254 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, }