Re: [PATCH] mfd: Add support for COMe-bHL6 and COMe-cTH6 to KontronPLD driver

From: Lee Jones
Date: Mon Aug 12 2013 - 12:31:18 EST


On Fri, 09 Aug 2013, Michael Brunner wrote:

> This patch adds DMI system IDs for the new Kontron modules COMe-bHL6 and
> COMe-cTH6 to the Kontron PLD driver.
>
> Signed-off-by: Michael Brunner <michael.brunner@xxxxxxxxxxx>
> ---
> drivers/mfd/kempld-core.c | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)

Applied with Kevin's Ack, thanks.

> diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c
> index 686a456..ee28e76 100644
> --- a/drivers/mfd/kempld-core.c
> +++ b/drivers/mfd/kempld-core.c
> @@ -413,6 +413,15 @@ static struct platform_driver kempld_driver = {
>
> static struct dmi_system_id __initdata kempld_dmi_table[] = {
> {
> + .ident = "BHL6",
> + .matches = {
> + DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> + DMI_MATCH(DMI_BOARD_NAME, "COMe-bHL6"),
> + },
> + .driver_data = (void *)&kempld_platform_data_generic,
> + .callback = kempld_create_platform_device,
> + },
> + {
> .ident = "CCR2",
> .matches = {
> DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> @@ -596,6 +605,15 @@ static struct dmi_system_id __initdata kempld_dmi_table[] = {
> .driver_data = (void *)&kempld_platform_data_generic,
> .callback = kempld_create_platform_device,
> },
> + {
> + .ident = "UTH6",
> + .matches = {
> + DMI_MATCH(DMI_BOARD_VENDOR, "Kontron"),
> + DMI_MATCH(DMI_BOARD_NAME, "COMe-cTH6"),
> + },
> + .driver_data = (void *)&kempld_platform_data_generic,
> + .callback = kempld_create_platform_device,
> + },
> {}
> };
> MODULE_DEVICE_TABLE(dmi, kempld_dmi_table);

--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
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/