From 2c29164fe791d5d73b4a75fcec590fef7776605b Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 16 Feb 2013 19:23:58 +0100 Subject: [PATCH] --- yaml --- r: 372543 b: refs/heads/master c: 631b09d1150fd66b3815253ed6e6c30ac5040efc h: refs/heads/master i: 372541: 7d9e36f5b9ac9bb4ced24c536292ca6c18248ea2 372539: d88ff268878406c0d0a21055ebb703e0645e9655 372535: 88c10a54d048d25ad8a3271105e1373358ddc5f2 372527: 4e0ae289b20c20995cd55a00570eadf1feedb736 372511: 4927e0851861ce2c2c0ec02598fcaea9deb44205 372479: 633d341b8b3373440bdf69460ff752ceef27b7a3 v: v3 --- [refs] | 2 +- trunk/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 104f93dd142c..1d18025734fc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3d8d9f1df93362f319cf60b9ad10721a059b058f +refs/heads/master: 631b09d1150fd66b3815253ed6e6c30ac5040efc diff --git a/trunk/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c b/trunk/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c index 96c6c2634cb4..eef17dcc3a41 100644 --- a/trunk/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c +++ b/trunk/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c @@ -8,12 +8,23 @@ * for more details. */ +#include #include #include +#include #include +static struct resource sh7203_pfc_resources[] = { + [0] = { + .start = 0xfffe3800, + .end = 0xfffe3a9f, + .flags = IORESOURCE_MEM, + }, +}; + static int __init plat_pinmux_setup(void) { - return sh_pfc_register("pfc-sh7203", NULL, 0); + return sh_pfc_register("pfc-sh7203", sh7203_pfc_resources, + ARRAY_SIZE(sh7203_pfc_resources)); } arch_initcall(plat_pinmux_setup);