i2c: at91: add of_device_id entry for at91rm9200
authorJoachim Eastwood <manabian@gmail.com>
Wed, 5 Dec 2012 21:42:12 +0000 (22:42 +0100)
committerWolfram Sang <w.sang@pengutronix.de>
Mon, 28 Jan 2013 04:26:43 +0000 (05:26 +0100)
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Ludovic Ddesroches <ludovic.desroches@atmel.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-at91.c

index 2bfc04d..3e287d8 100644 (file)
@@ -584,6 +584,9 @@ static const struct platform_device_id at91_twi_devtypes[] = {
 #if defined(CONFIG_OF)
 static const struct of_device_id atmel_twi_dt_ids[] = {
        {
+               .compatible = "atmel,at91rm9200-i2c",
+               .data = &at91rm9200_config,
+       } , {
                .compatible = "atmel,at91sam9260-i2c",
                .data = &at91sam9260_config,
        } , {