diff options
author | Karsten Keil <kkeil@suse.de> | 2006-07-10 04:44:11 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 13:24:15 -0700 |
commit | 67eb5db5874076db01febed5a1a9281628fa9fb4 (patch) | |
tree | 5116e91370d700c5eb497f13a24f10203baf5caa /drivers/isdn/hisax/asuscom.c | |
parent | acbf8bd738f1357e0e3b97b918bef5be272b176e (diff) | |
download | kernel_samsung_smdk4412-67eb5db5874076db01febed5a1a9281628fa9fb4.zip kernel_samsung_smdk4412-67eb5db5874076db01febed5a1a9281628fa9fb4.tar.gz kernel_samsung_smdk4412-67eb5db5874076db01febed5a1a9281628fa9fb4.tar.bz2 |
[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>
Diffstat (limited to 'drivers/isdn/hisax/asuscom.c')
-rw-r--r-- | drivers/isdn/hisax/asuscom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/asuscom.c b/drivers/isdn/hisax/asuscom.c index a98c5e3..93ff941 100644 --- a/drivers/isdn/hisax/asuscom.c +++ b/drivers/isdn/hisax/asuscom.c @@ -297,7 +297,7 @@ Asus_card_msg(struct IsdnCardState *cs, int mt, void *arg) } #ifdef __ISAPNP__ -static struct isapnp_device_id asus_ids[] __initdata = { +static struct isapnp_device_id asus_ids[] __devinitdata = { { ISAPNP_VENDOR('A', 'S', 'U'), ISAPNP_FUNCTION(0x1688), ISAPNP_VENDOR('A', 'S', 'U'), ISAPNP_FUNCTION(0x1688), (unsigned long) "Asus1688 PnP" }, @@ -313,11 +313,11 @@ static struct isapnp_device_id asus_ids[] __initdata = { { 0, } }; -static struct isapnp_device_id *ipid __initdata = &asus_ids[0]; +static struct isapnp_device_id *ipid __devinitdata = &asus_ids[0]; static struct pnp_card *pnp_c __devinitdata = NULL; #endif -int __init +int __devinit setup_asuscom(struct IsdnCard *card) { int bytecnt; |