rrunner.c:rr_init() must be __devinit
This patch fixes the following section mismatch: <-- snip --> ... MODPOST vmlinux WARNING: drivers/built-in.o(.text+0x26e3f2): Section mismatch: reference to .init.text:rr_init (between 'rr_init_one' and 'rr_remove_one') ... <-- snip --> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
Родитель
9b5587cdd9
Коммит
4f092432bd
|
@ -516,7 +516,7 @@ static unsigned int write_eeprom(struct rr_private *rrpriv,
|
|||
}
|
||||
|
||||
|
||||
static int __init rr_init(struct net_device *dev)
|
||||
static int __devinit rr_init(struct net_device *dev)
|
||||
{
|
||||
struct rr_private *rrpriv;
|
||||
struct rr_regs __iomem *regs;
|
||||
|
|
Загрузка…
Ссылка в новой задаче