diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-02-07 21:20:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-07 21:20:29 -0500 |
commit | 054b0e2b2d5ed460784e8dfbf30ff4768dbf4376 (patch) | |
tree | 68a5554f7a7506a23e00cf1e28cf91f22c252c04 /drivers/isdn/hisax | |
parent | bca65eae394e95c125837b6eb3a8246c40777608 (diff) |
[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>
Diffstat (limited to 'drivers/isdn/hisax')
-rw-r--r-- | drivers/isdn/hisax/amd7930_fn.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/amd7930_fn.c b/drivers/isdn/hisax/amd7930_fn.c index c0d7036404a5..341faf58a65c 100644 --- a/drivers/isdn/hisax/amd7930_fn.c +++ b/drivers/isdn/hisax/amd7930_fn.c | |||
@@ -744,8 +744,7 @@ dbusy_timer_handler(struct IsdnCardState *cs) | |||
744 | 744 | ||
745 | 745 | ||
746 | 746 | ||
747 | void __devinit | 747 | void Amd7930_init(struct IsdnCardState *cs) |
748 | Amd7930_init(struct IsdnCardState *cs) | ||
749 | { | 748 | { |
750 | WORD *ptr; | 749 | WORD *ptr; |
751 | BYTE cmd, cnt; | 750 | BYTE cmd, cnt; |