diff options
author | Karsten Keil <kkeil@suse.de> | 2006-07-10 07:44:11 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-10 16:24:15 -0400 |
commit | 67eb5db5874076db01febed5a1a9281628fa9fb4 (patch) | |
tree | 5116e91370d700c5eb497f13a24f10203baf5caa /drivers/isdn/hisax/asuscom.c | |
parent | acbf8bd738f1357e0e3b97b918bef5be272b176e (diff) |
[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 a98c5e38bbbc..93ff941c48f1 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) | |||
297 | } | 297 | } |
298 | 298 | ||
299 | #ifdef __ISAPNP__ | 299 | #ifdef __ISAPNP__ |
300 | static struct isapnp_device_id asus_ids[] __initdata = { | 300 | static struct isapnp_device_id asus_ids[] __devinitdata = { |
301 | { ISAPNP_VENDOR('A', 'S', 'U'), ISAPNP_FUNCTION(0x1688), | 301 | { ISAPNP_VENDOR('A', 'S', 'U'), ISAPNP_FUNCTION(0x1688), |
302 | ISAPNP_VENDOR('A', 'S', 'U'), ISAPNP_FUNCTION(0x1688), | 302 | ISAPNP_VENDOR('A', 'S', 'U'), ISAPNP_FUNCTION(0x1688), |
303 | (unsigned long) "Asus1688 PnP" }, | 303 | (unsigned long) "Asus1688 PnP" }, |
@@ -313,11 +313,11 @@ static struct isapnp_device_id asus_ids[] __initdata = { | |||
313 | { 0, } | 313 | { 0, } |
314 | }; | 314 | }; |
315 | 315 | ||
316 | static struct isapnp_device_id *ipid __initdata = &asus_ids[0]; | 316 | static struct isapnp_device_id *ipid __devinitdata = &asus_ids[0]; |
317 | static struct pnp_card *pnp_c __devinitdata = NULL; | 317 | static struct pnp_card *pnp_c __devinitdata = NULL; |
318 | #endif | 318 | #endif |
319 | 319 | ||
320 | int __init | 320 | int __devinit |
321 | setup_asuscom(struct IsdnCard *card) | 321 | setup_asuscom(struct IsdnCard *card) |
322 | { | 322 | { |
323 | int bytecnt; | 323 | int bytecnt; |