Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7740ac6a7cf8158e828b4cbd4fc5226e53b5d9a2
Commit:     7740ac6a7cf8158e828b4cbd4fc5226e53b5d9a2
Parent:     954415e33ed6cfa932c13e8c2460bd05e50723b5
Author:     Sam Ravnborg <[EMAIL PROTECTED]>
AuthorDate: Sat Feb 9 23:27:41 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Sat Feb 9 23:27:41 2008 -0800

    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 <[EMAIL PROTECTED]>
    Acked-by: Karsten Keil <[EMAIL PROTECTED]>
    Cc: Jeff Garzik <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 drivers/isdn/hisax/hfc_sx.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c
index 4fd09d2..05482d2 100644
--- a/drivers/isdn/hisax/hfc_sx.c
+++ b/drivers/isdn/hisax/hfc_sx.c
@@ -1330,8 +1330,7 @@ hfcsx_bh(struct work_struct *work)
 /********************************/
 /* called for card init message */
 /********************************/
-static void __devinit
-inithfcsx(struct IsdnCardState *cs)
+static void inithfcsx(struct IsdnCardState *cs)
 {
        cs->setstack_d = setstack_hfcsx;
        cs->BC_Send_Data = &hfcsx_send_data;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to