[PATCH] ARM: i.MX5x: Make IIM driver kernel-compatible
Alexander Shiyan
shc_work at mail.ru
Fri Oct 25 06:11:52 EDT 2013
Since kernel uses "imx27-iim" compatible string in i.MX5x DTS templates,
do IIM driver compatible.
Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
---
arch/arm/dts/imx53.dtsi | 2 +-
arch/arm/mach-imx/iim.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/dts/imx53.dtsi b/arch/arm/dts/imx53.dtsi
index 5c8608b..09c5772 100644
--- a/arch/arm/dts/imx53.dtsi
+++ b/arch/arm/dts/imx53.dtsi
@@ -962,7 +962,7 @@
ranges;
iim: iim at 63f98000 {
- compatible = "fsl,imx53-iim", "fsl,imx-iim";
+ compatible = "fsl,imx53-iim", "fsl,imx27-iim";
reg = <0x63f98000 0x4000>;
interrupts = <69>;
clocks = <&clks 107>;
diff --git a/arch/arm/mach-imx/iim.c b/arch/arm/mach-imx/iim.c
index 956811c..938c3f3 100644
--- a/arch/arm/mach-imx/iim.c
+++ b/arch/arm/mach-imx/iim.c
@@ -296,7 +296,7 @@ static int imx_iim_probe(struct device_d *dev)
static __maybe_unused struct of_device_id imx_iim_dt_ids[] = {
{
- .compatible = "fsl,imx-iim",
+ .compatible = "fsl,imx27-iim",
}, {
/* sentinel */
}
--
1.8.1.5
More information about the barebox
mailing list