sh: sh7786: Register PFC platform device
[deliverable/linux.git] / arch / sh / kernel / cpu / sh4a / pinmux-sh7786.c
index 60df99c7bc2600db98fa738a85e1fdf62b5342e4..be876b0f1ad0968a0995a81b30bb953b1059caef 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/init.h>
 #include <linux/kernel.h>
 #include <linux/gpio.h>
+#include <cpu/pfc.h>
 #include <cpu/sh7786.h>
 
 enum {
@@ -837,7 +838,7 @@ static struct pinmux_info sh7786_pinmux_info = {
 
 static int __init plat_pinmux_setup(void)
 {
-       return register_pinmux(&sh7786_pinmux_info);
+       return sh_pfc_register_info(NULL, NULL, 0, &sh7786_pinmux_info);
 }
 
 arch_initcall(plat_pinmux_setup);
This page took 0.045929 seconds and 5 git commands to generate.