9 #include <linux/module.h>
20 static struct gpio gpios[] = {
86 .hw_init = hx4700_pcmcia_hw_init,
87 .hw_shutdown = hx4700_pcmcia_hw_shutdown,
88 .socket_state = hx4700_pcmcia_socket_state,
89 .configure_socket = hx4700_pcmcia_configure_socket,
94 static int __init hx4700_pcmcia_init(
void)
98 if (!machine_is_h4700())
101 pdev = platform_device_register_data(
NULL,
"pxa2xx-pcmcia", -1,
102 &hx4700_pcmcia_ops,
sizeof(hx4700_pcmcia_ops));
104 return PTR_ERR(pdev);
106 hx4700_pcmcia_device = pdev;
111 static void __exit hx4700_pcmcia_exit(
void)