mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
[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
@ -307,7 +307,7 @@ static void init_eisa_pic(void)
|
|||||||
|
|
||||||
#define is_mongoose(dev) (dev->id.sversion == 0x00076)
|
#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;
|
int i, result;
|
||||||
|
|
||||||
@ -387,7 +387,7 @@ static int __devinit eisa_probe(struct parisc_device *dev)
|
|||||||
return 0;
|
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, 0x00076 }, /* Mongoose */
|
||||||
{ HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00090 }, /* Wax EISA */
|
{ HPHW_BA, HVERSION_REV_ANY_ID, HVERSION_ANY_ID, 0x00090 }, /* Wax EISA */
|
||||||
{ 0, }
|
{ 0, }
|
||||||
|
Loading…
Reference in New Issue
Block a user