Searched refs:sharpsl_pcmcia_device (Results 1 – 1 of 1) sorted by relevance
219 static struct platform_device *sharpsl_pcmcia_device; variable229 sharpsl_pcmcia_device = platform_device_alloc("pxa2xx-pcmcia", -1); in sharpsl_pcmcia_init()231 if (!sharpsl_pcmcia_device) in sharpsl_pcmcia_init()234 ret = platform_device_add_data(sharpsl_pcmcia_device, in sharpsl_pcmcia_init()237 sharpsl_pcmcia_device->dev.parent = platform_scoop_config->devs[0].dev; in sharpsl_pcmcia_init()238 ret = platform_device_add(sharpsl_pcmcia_device); in sharpsl_pcmcia_init()242 platform_device_put(sharpsl_pcmcia_device); in sharpsl_pcmcia_init()249 platform_device_unregister(sharpsl_pcmcia_device); in sharpsl_pcmcia_exit()