2 * linux/drivers/pcmcia/pxa/pxa_cm_x2xx.c
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 * Compulab Ltd., 2003, 2007, 2008
9 * Mike Rapoport <mike@compulab.co.il>
13 #include <linux/module.h>
15 #include <asm/system.h>
16 #include <asm/mach-types.h>
17 #include <mach/system.h>
19 int cmx255_pcmcia_init(void);
20 int cmx270_pcmcia_init(void);
21 void cmx255_pcmcia_exit(void);
22 void cmx270_pcmcia_exit(void);
24 static int __init
cmx2xx_pcmcia_init(void)
28 if (machine_is_armcore() && cpu_is_pxa25x())
29 ret
= cmx255_pcmcia_init();
30 else if (machine_is_armcore() && cpu_is_pxa27x())
31 ret
= cmx270_pcmcia_init();
36 static void __exit
cmx2xx_pcmcia_exit(void)
38 if (machine_is_armcore() && cpu_is_pxa25x())
40 else if (machine_is_armcore() && cpu_is_pxa27x())
44 module_init(cmx2xx_pcmcia_init
);
45 module_exit(cmx2xx_pcmcia_exit
);
47 MODULE_LICENSE("GPL");
48 MODULE_AUTHOR("Mike Rapoport <mike@compulab.co.il>");
49 MODULE_DESCRIPTION("CM-x2xx PCMCIA driver");
This page took 0.032157 seconds and 5 git commands to generate.