mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 5/5] ARM: imx6: select OFTREE
Date: Fri, 14 Aug 2015 12:16:45 +0200	[thread overview]
Message-ID: <1439547405-12578-5-git-send-email-l.stach@pengutronix.de> (raw)
In-Reply-To: <1439547405-12578-1-git-send-email-l.stach@pengutronix.de>

i.MX6 is fully DT enabled and the already selected
COMMON_CLK_OF_PROVIDER needs OFTREE support to build properly.

Fixes:
arch/arm/mach-imx/clk-imx6.c: In function 'imx6_ccm_probe':
arch/arm/mach-imx/clk-imx6.c:500:2: error:
    invalid use of undefined type 'struct clk_onecell_data'
arch/arm/mach-imx/clk-imx6.c:502:2: error:
    implicit declaration of function 'of_clk_add_provider'

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 arch/arm/mach-imx/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index a4298416fcdf..1693870b7ee8 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -178,12 +178,14 @@ config ARCH_IMX6
 	select ARCH_HAS_FEC_IMX
 	select CPU_V7
 	select PINCTRL_IMX_IOMUX_V3
+	select OFTREE
 	select COMMON_CLK_OF_PROVIDER
 	select HW_HAS_PCI
 
 config ARCH_IMX6SX
 	bool
 	select ARCH_IMX6
+	select OFTREE
 	select COMMON_CLK_OF_PROVIDER
 
 config IMX_MULTI_BOARDS
-- 
2.4.6


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2015-08-14 10:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-14 10:16 [PATCH 1/5] video: simple-panel: depend on GPIOLIB Lucas Stach
2015-08-14 10:16 ` [PATCH 2/5] video: mtl017: " Lucas Stach
2015-08-14 10:16 ` [PATCH 3/5] video: ipu-fb: mark internally used functions as static Lucas Stach
2015-08-19 13:49   ` Sascha Hauer
2015-08-14 10:16 ` [PATCH 4/5] video: fbcon: needs console support Lucas Stach
2015-08-19 13:50   ` Sascha Hauer
2015-08-14 10:16 ` Lucas Stach [this message]
2015-08-19 13:52   ` [PATCH 5/5] ARM: imx6: select OFTREE Sascha Hauer
2015-08-19 13:48 ` [PATCH 1/5] video: simple-panel: depend on GPIOLIB Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439547405-12578-5-git-send-email-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox