Explorar o código

i2c: at91: add of_device_id entry for at91rm9200

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>
Joachim Eastwood %!s(int64=12) %!d(string=hai) anos
pai
achega
631056c399
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      drivers/i2c/busses/i2c-at91.c

+ 3 - 0
drivers/i2c/busses/i2c-at91.c

@@ -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,
 	} , {