]> git.baikalelectronics.ru Git - kernel.git/commit
net/hplance: hplance_init() should be __devinit
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 13 Jun 2011 08:17:36 +0000 (08:17 +0000)
committerDavid S. Miller <davem@conan.davemloft.net>
Mon, 13 Jun 2011 22:32:36 +0000 (18:32 -0400)
commit1328657afe1d38f4901a47c62ce64d03a2379199
treee3fb7c8160f40d5226aa2d1c12cbcb182db4765b
parent48c33d5285fd54c2122f6b8f6bfc054407618720
net/hplance: hplance_init() should be __devinit

WARNING: vmlinux.o(.devinit.text+0x253e): Section mismatch in reference from the function hplance_init_one() to the function .init.text:hplance_init()

The forward declaration had the correct attribute, but the actual function
definition hadn't.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@conan.davemloft.net>
drivers/net/hplance.c