aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/pxa2xx_viper.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pcmcia/pxa2xx_viper.c')
-rw-r--r--drivers/pcmcia/pxa2xx_viper.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/pcmcia/pxa2xx_viper.c b/drivers/pcmcia/pxa2xx_viper.c
index adfae4987a42..cb0c37ec7f24 100644
--- a/drivers/pcmcia/pxa2xx_viper.c
+++ b/drivers/pcmcia/pxa2xx_viper.c
@@ -177,18 +177,7 @@ static struct platform_driver viper_pcmcia_driver = {
177 .id_table = viper_pcmcia_id_table, 177 .id_table = viper_pcmcia_id_table,
178}; 178};
179 179
180static int __init viper_pcmcia_init(void) 180module_platform_driver(viper_pcmcia_driver);
181{
182 return platform_driver_register(&viper_pcmcia_driver);
183}
184
185static void __exit viper_pcmcia_exit(void)
186{
187 return platform_driver_unregister(&viper_pcmcia_driver);
188}
189
190module_init(viper_pcmcia_init);
191module_exit(viper_pcmcia_exit);
192 181
193MODULE_DEVICE_TABLE(platform, viper_pcmcia_id_table); 182MODULE_DEVICE_TABLE(platform, viper_pcmcia_id_table);
194MODULE_LICENSE("GPL"); 183MODULE_LICENSE("GPL");