]> err.no Git - linux-2.6/commit
[ISDN]: fix section mismatch warning in enpci_card_msg
authorSam Ravnborg <sam@ravnborg.org>
Fri, 8 Feb 2008 02:20:29 +0000 (18:20 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2008 02:20:29 +0000 (18:20 -0800)
commit054b0e2b2d5ed460784e8dfbf30ff4768dbf4376
tree68a5554f7a7506a23e00cf1e28cf91f22c252c04
parentbca65eae394e95c125837b6eb3a8246c40777608
[ISDN]: fix section mismatch warning in enpci_card_msg

Fix following warnings:
WARNING: drivers/isdn/hisax/built-in.o(.text+0x3cf50): Section mismatch in reference from the function enpci_card_msg() to the function .devinit.text:Amd7930_init()
WARNING: drivers/isdn/hisax/built-in.o(.text+0x3cf85): Section mismatch in reference from the function enpci_card_msg() to the function .devinit.text:Amd7930_init()

enpci_card_msg() can be called outside __devinit context
referenced function should not be annotated __devinit.

Remove annotation of Amd7930_init to fix this.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/amd7930_fn.c