Patchwork [v2,2/2] arm: mxs: enable flexcan on imx28

login
register
mail settings
Submitter Marc Kleine-Budde
Date July 2, 2012, 9:03 a.m.
Message ID <1341219781-26107-3-git-send-email-mkl@pengutronix.de>
Download mbox | patch
Permalink /patch/168520/
State New
Headers show

Comments

Marc Kleine-Budde - July 2, 2012, 9:03 a.m.
As the flexcan driver has DT binding for some time now. This patch makes
the flexcan driver available in the can drivers menu if a SOC with flexcan
is enabled.

Cc: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 arch/arm/mach-mxs/Kconfig |    1 +
 1 file changed, 1 insertion(+)
Shawn Guo - July 3, 2012, 2:41 a.m.
On Mon, Jul 02, 2012 at 11:03:01AM +0200, Marc Kleine-Budde wrote:
> As the flexcan driver has DT binding for some time now. This patch makes
> the flexcan driver available in the can drivers menu if a SOC with flexcan
> is enabled.
> 
> Cc: Shawn Guo <shawn.guo@linaro.org>
> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>

Applied with subject prefix changed to "ARM: mxs: ..."

Patch

diff --git a/arch/arm/mach-mxs/Kconfig b/arch/arm/mach-mxs/Kconfig
index 91cf062..ccdf83b 100644
--- a/arch/arm/mach-mxs/Kconfig
+++ b/arch/arm/mach-mxs/Kconfig
@@ -16,6 +16,7 @@  config SOC_IMX28
 	bool
 	select ARM_AMBA
 	select CPU_ARM926T
+	select HAVE_CAN_FLEXCAN if CAN
 	select HAVE_PWM
 	select PINCTRL_IMX28