From 8da900140c470d0997ec0bcafa907b2a89799046 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 15 Dec 2012 23:51:03 +0100 Subject: [PATCH] --- yaml --- r: 355357 b: refs/heads/master c: c2a163c8304023267e557d9eda61c7ff8e14a158 h: refs/heads/master i: 355355: da0d2d39705549192ad471c195fc0b2daf5ac4ea v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-shmobile/pfc-sh73a0.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 15480b2288df..33cbc1ac0fdf 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3bdd190670490143007e9e34a850a400074b83fa +refs/heads/master: c2a163c8304023267e557d9eda61c7ff8e14a158 diff --git a/trunk/arch/arm/mach-shmobile/pfc-sh73a0.c b/trunk/arch/arm/mach-shmobile/pfc-sh73a0.c index c83c582f203f..342683eb467c 100644 --- a/trunk/arch/arm/mach-shmobile/pfc-sh73a0.c +++ b/trunk/arch/arm/mach-shmobile/pfc-sh73a0.c @@ -18,7 +18,9 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include #include +#include #include #include #include @@ -2798,9 +2800,24 @@ static struct pinmux_info sh73a0_pinmux_info = { .gpio_irq_size = ARRAY_SIZE(pinmux_irqs), }; +static struct resource sh73a0_pfc_resources[] = { + [0] = { + .start = 0xe6050000, + .end = 0xe6057fff, + .flags = IORESOURCE_MEM, + }, + [1] = { + .start = 0xe605801c, + .end = 0xe6058027, + .flags = IORESOURCE_MEM, + } +}; + static struct platform_device sh73a0_pfc_device = { .name = "sh-pfc", .id = -1, + .resource = sh73a0_pfc_resources, + .num_resources = ARRAY_SIZE(sh73a0_pfc_resources), .dev = { .platform_data = &sh73a0_pinmux_info, },