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

From: Russell King
Date: Mon May 12 2008 - 07:43:00 EST


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:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/