]> git.baikalelectronics.ru Git - kernel.git/commit
isdn: fix section mismatch warning in hfc_sx.c
authorSam Ravnborg <sam@ravnborg.org>
Sun, 10 Feb 2008 07:27:41 +0000 (23:27 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 10 Feb 2008 07:27:41 +0000 (23:27 -0800)
commitd8434acce26b3dfccf2ae04ad72d1777afcb4c06
treec77b14a59212ed6bd815d38a003f2f73f52a96c1
parentc0b7d22ca5fe679963651462d6b4842a14fc4f47
isdn: fix section mismatch warning in hfc_sx.c

Fix the following warning:
WARNING: drivers/isdn/hisax/built-in.o(.text+0x35818): Section mismatch in reference from the function hfcsx_card_msg() to the function .devinit.text:inithfcsx()

hfcsx_card_msg() may be called outside __devinit context.
Following the program logic is looks like the CARD_INIT branch
will only be taken under __devinit context but to be consistent
remove the __devinit annotation of inithfcsx() so we
do not mix non-__devinit and __devinit code.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Karsten Keil <kkeil@suse.de>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/hfc_sx.c