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

Hennerich, Michael Michael.Hennerich at analog.com
Tue May 13 04:36:24 EDT 2008


>-----Original Message-----
>From: Russell King [mailto:rmk at arm.linux.org.uk] On Behalf Of Russell
King
>Sent: Montag, 12. Mai 2008 13:37
>To: Bryan Wu
>Cc: linux-pcmcia at lists.infradead.org; linux-kernel at vger.kernel.org;
Michael
>Hennerich
>Subject: Re: [PATCH 1/1] [PCMCIA]: add support the CF PCMCIA driver for
>Blackfin
>
>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'.

Haven't looked at the code since a great while...

ACK - were going to update.

Best regards,
Michael


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



More information about the linux-pcmcia mailing list