[PATCH 1/1] [PCMCIA]: add support the CF PCMCIA driver for Blackfin

Russell King rmk+lkml at arm.linux.org.uk
Mon May 12 07:37:26 EDT 2008


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:



More information about the linux-pcmcia mailing list