summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/setup.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-07-05 16:56:09 +0800
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2012-10-13 09:21:43 +0800
commit5314ec8e52263b56edd6a37d089b3b675d50e3f1 (patch)
tree96763a71d0c73d0c88076c85e28f680a8775a69a /arch/arm/mach-at91/setup.c
parent6732ae5cb47c4f9a72727585956f2a5e069d1637 (diff)
downloadop-kernel-dev-5314ec8e52263b56edd6a37d089b3b675d50e3f1.zip
op-kernel-dev-5314ec8e52263b56edd6a37d089b3b675d50e3f1.tar.gz
arm: at91: dt: at91sam9 add pinctrl support
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91/setup.c')
-rw-r--r--arch/arm/mach-at91/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setup.c
index e228d73..523daa9 100644
--- a/arch/arm/mach-at91/setup.c
+++ b/arch/arm/mach-at91/setup.c
@@ -449,7 +449,8 @@ void __init at91_dt_initialize(void)
/* Register the processor-specific clocks */
at91_boot_soc.register_clocks();
- at91_boot_soc.init();
+ if (at91_boot_soc.init)
+ at91_boot_soc.init();
}
#endif
OpenPOWER on IntegriCloud