mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
[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>
This commit is contained in:
parent
bca65eae39
commit
054b0e2b2d
@ -744,8 +744,7 @@ dbusy_timer_handler(struct IsdnCardState *cs)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void __devinit
|
void Amd7930_init(struct IsdnCardState *cs)
|
||||||
Amd7930_init(struct IsdnCardState *cs)
|
|
||||||
{
|
{
|
||||||
WORD *ptr;
|
WORD *ptr;
|
||||||
BYTE cmd, cnt;
|
BYTE cmd, cnt;
|
||||||
|
Loading…
Reference in New Issue
Block a user