On Mon, May 12, 2008 at 06:46:40PM +0800, Bryan Wu wrote:
> +static struct device_driver bfin_cf_driver = {
> +     .name           = (char *) driver_name,
> +     .bus            = &platform_bus_type,
> +     .probe          = bfin_cf_probe,
> +     .remove         = __devexit_p(bfin_cf_remove),
> +     .suspend        = pcmcia_socket_dev_suspend,
> +     .resume         = pcmcia_socket_dev_resume,
> +};

NAK.  All platform device drivers must be of type 'struct platform_driver'.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:

_______________________________________________
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia

Reply via email to