Re: [PATCH] isdn: fix section mismatch warning in enpci_card_msg
From: David Miller
Date: Thu Feb 07 2008 - 21:20:24 EST
From: Sam Ravnborg <sam@xxxxxxxxxxxx>
Date: Fri, 1 Feb 2008 14:42:42 +0100
> 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@xxxxxxxxxxxx>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/