Skip to content

Commit

Permalink
[PARISC] fix section mismatch in parisc eisa driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Helge Deller authored and Kyle McMartin committed May 27, 2007
1 parent e9541d0 commit 6fe077f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/parisc/eisa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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, }
Expand Down

0 comments on commit 6fe077f

Please sign in to comment.