[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>
This commit is contained in:
parent
e9541d0ca2
commit
6fe077fd38
1 changed files with 2 additions and 2 deletions
|
@ -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, }
|
||||
|
|
Loading…
Reference in a new issue