[PATCH] mux: mux-gpio: fix compatible according to binding documentation

From: Philipp Zabel
Date: Thu Apr 13 2017 - 10:24:52 EST


According to the device tree binding documentation, the compatible
should be "gpio-mux", not "mux-gpio".

Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
---
drivers/mux/mux-gpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mux/mux-gpio.c b/drivers/mux/mux-gpio.c
index b304845c4812b..227d3572e6dbf 100644
--- a/drivers/mux/mux-gpio.c
+++ b/drivers/mux/mux-gpio.c
@@ -43,7 +43,7 @@ static const struct mux_control_ops mux_gpio_ops = {
};

static const struct of_device_id mux_gpio_dt_ids[] = {
- { .compatible = "mux-gpio", },
+ { .compatible = "gpio-mux", },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(of, mux_gpio_dt_ids);
--
2.11.0