From: Sam Ravnborg Date: Sun, 10 Feb 2008 07:27:41 +0000 (-0800) Subject: isdn: fix section mismatch warning in hfc_sx.c X-Git-Tag: v2.6.25-rc1~7^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7740ac6a7cf8158e828b4cbd4fc5226e53b5d9a2;p=pandora-kernel.git 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 Acked-by: Karsten Keil Cc: Jeff Garzik Signed-off-by: David S. Miller --- Reading git-diff-tree failed