[PATCH v5 2/4] MTD : add the common code for GPMI controller driver

Huang Shijie b32955 at freescale.com
Thu Apr 14 02:36:36 EDT 2011


Hi:
> Hi,
>
> Huang Shijie writes:
>> These files contain the common code for the GPMI driver.
>>
>> Signed-off-by: Huang Shijie<b32955 at freescale.com>
>> ---
>>   drivers/mtd/nand/gpmi-nfc/gpmi-nfc-main.c | 2502 +++++++++++++++++++++++++++++
>>   drivers/mtd/nand/gpmi-nfc/gpmi-nfc.h      |  488 ++++++
>>   2 files changed, 2990 insertions(+), 0 deletions(-)
>>   create mode 100644 drivers/mtd/nand/gpmi-nfc/gpmi-nfc-main.c
>>   create mode 100644 drivers/mtd/nand/gpmi-nfc/gpmi-nfc.h
>>
>> diff --git a/drivers/mtd/nand/gpmi-nfc/gpmi-nfc-main.c b/drivers/mtd/nand/gpmi-nfc/gpmi-nfc-main.c
>> new file mode 100644
>> index 0000000..33d9f2d
>> --- /dev/null
>> +++ b/drivers/mtd/nand/gpmi-nfc/gpmi-nfc-main.c
>> @@ -0,0 +1,2502 @@
> [...]
>> +static const struct platform_device_id gpmi_ids[] = {
>> +	{
>> +		.name = GPMI_NFC_DRIVER_MX23,
>> +		.driver_data = IS_MX23,
>> +	}, {
>> +		.name = GPMI_NFC_DRIVER_MX28,
>> +		.driver_data = IS_MX28,
>> +	}
>> +};
>>
> An empty entry as end of list marker is missing.
>
thanks.

Huang Shijie
> Lothar Waßmann





More information about the linux-arm-kernel mailing list