diff options
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/at91_cf.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c index 149b95c957da..8ddc57c5bc47 100644 --- a/drivers/pcmcia/at91_cf.c +++ b/drivers/pcmcia/at91_cf.c | |||
@@ -411,17 +411,7 @@ static struct platform_driver at91_cf_driver = { | |||
411 | 411 | ||
412 | /*--------------------------------------------------------------------------*/ | 412 | /*--------------------------------------------------------------------------*/ |
413 | 413 | ||
414 | static int __init at91_cf_init(void) | 414 | module_platform_driver_probe(at91_cf_driver, at91_cf_probe); |
415 | { | ||
416 | return platform_driver_probe(&at91_cf_driver, at91_cf_probe); | ||
417 | } | ||
418 | module_init(at91_cf_init); | ||
419 | |||
420 | static void __exit at91_cf_exit(void) | ||
421 | { | ||
422 | platform_driver_unregister(&at91_cf_driver); | ||
423 | } | ||
424 | module_exit(at91_cf_exit); | ||
425 | 415 | ||
426 | MODULE_DESCRIPTION("AT91 Compact Flash Driver"); | 416 | MODULE_DESCRIPTION("AT91 Compact Flash Driver"); |
427 | MODULE_AUTHOR("David Brownell"); | 417 | MODULE_AUTHOR("David Brownell"); |