[PATCH] hisax: fix usage of __init*
Fix the warnings about the section mismatches for __init* in the HiSax driver. Signed-off-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
acbf8bd738
commit
67eb5db587
@ -639,7 +639,7 @@ clear_pending_hdlc_ints(struct IsdnCardState *cs)
|
||||
}
|
||||
#endif /* 0 */
|
||||
|
||||
static void __init
|
||||
static void
|
||||
inithdlc(struct IsdnCardState *cs)
|
||||
{
|
||||
cs->bcs[0].BC_SetStack = setstack_hdlc;
|
||||
@ -727,13 +727,13 @@ AVM_card_msg(struct IsdnCardState *cs, int mt, void *arg)
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PCI
|
||||
static struct pci_dev *dev_avm __initdata = NULL;
|
||||
static struct pci_dev *dev_avm __devinitdata = NULL;
|
||||
#endif
|
||||
#ifdef __ISAPNP__
|
||||
static struct pnp_card *pnp_avm_c __initdata = NULL;
|
||||
static struct pnp_card *pnp_avm_c __devinitdata = NULL;
|
||||
#endif
|
||||
|
||||
int __init
|
||||
int __devinit
|
||||
setup_avm_pcipnp(struct IsdnCard *card)
|
||||
{
|
||||
u_int val, ver;
|
||||
|
Reference in New Issue
Block a user