diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-16 09:29:21 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-03-16 09:29:33 +0100 |
commit | 0832e4008fc6bbc90fcdbb6bd2c6d61677504c9c (patch) | |
tree | 52db3ed3888ccf1a96d7f5ce13ce219db23f5d7c /arch/arm/mach-imx/clocksource.c | |
parent | a0fa6e1d2b6ac59ecb0cf531fb3b37fab636e336 (diff) | |
download | barebox-0832e4008fc6bbc90fcdbb6bd2c6d61677504c9c.tar.gz barebox-0832e4008fc6bbc90fcdbb6bd2c6d61677504c9c.tar.xz |
ARM: i.MX27: Fix gpt compatible for latest device trees
In v4.2-rc3 the "fsl,imx1-gpt" compatible was replaced with
"fsl,imx21-gpt" so i.MX27 currently ends up without clocksource. Fix
this.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/clocksource.c')
-rw-r--r-- | arch/arm/mach-imx/clocksource.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clocksource.c b/arch/arm/mach-imx/clocksource.c index 66dcea4cfb..b6873a7e39 100644 --- a/arch/arm/mach-imx/clocksource.c +++ b/arch/arm/mach-imx/clocksource.c @@ -140,6 +140,9 @@ static __maybe_unused struct of_device_id imx_gpt_dt_ids[] = { .compatible = "fsl,imx1-gpt", .data = ®s_imx1, }, { + .compatible = "fsl,imx21-gpt", + .data = ®s_imx1, + }, { .compatible = "fsl,imx31-gpt", .data = ®s_imx31, }, { |