]> err.no Git - linux-2.6/commit
drivers/net/sis190: fix section mismatch warning in sis190_get_mac_addr
authorSergio Luis <sergio@uece.br>
Sun, 10 Feb 2008 20:56:25 +0000 (17:56 -0300)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 16:15:35 +0000 (11:15 -0500)
commitd785ad74641c59074786084b24a9283d7a7727b0
tree39113c2caec8d8a362ff7d75716657ff7c7e5d33
parentf33780d33f8a95fe5dc72b706a4de741e9240f36
drivers/net/sis190: fix section mismatch warning in sis190_get_mac_addr

Fix following warnings:
WARNING: drivers/net/sis190.o(.text+0x103): Section mismatch in reference from the function sis190_get_mac_addr() to the function .devinit.text:sis190_get_mac_addr_from_apc()
WARNING: drivers/net/sis190.o(.text+0x10e): Section mismatch in reference from the function sis190_get_mac_addr() to the function .devinit.text:sis190_get_mac_addr_from_eeprom()

Annotate sis190_get_mac_addr() with __devinit.

Signed-off-by: Sergio Luis <sergio@uece.br>
 sis190.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sis190.c