[PATCH 1/1] pinctrl/at91: fix compatible order

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Fri Oct 12 05:23:10 EDT 2012


the sam9x5 is new version of the rm9200 not the invert

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
Cc: Linus Walleij <linus.walleij at linaro.org>
---
 drivers/pinctrl/pinctrl-at91.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c
index 9c0fe11..bdb152b 100644
--- a/drivers/pinctrl/pinctrl-at91.c
+++ b/drivers/pinctrl/pinctrl-at91.c
@@ -1331,8 +1331,8 @@ static void __devinit at91_gpio_probe_fixup(void)
 }
 
 static struct of_device_id at91_gpio_of_match[] __devinitdata = {
-	{ .compatible = "atmel,at91rm9200-gpio", .data = &at91rm9200_ops },
 	{ .compatible = "atmel,at91sam9x5-gpio", .data = &at91sam9x5_ops, },
+	{ .compatible = "atmel,at91rm9200-gpio", .data = &at91rm9200_ops },
 	{ /* sentinel */ }
 };
 
-- 
1.7.10.4




More information about the linux-arm-kernel mailing list