Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355351
b: refs/heads/master
c: e48d198
h: refs/heads/master
i:
  355349: c5132c5
  355347: 4494747
  355343: 1499747
v: v3
  • Loading branch information
Laurent Pinchart authored and Simon Horman committed Jan 25, 2013
1 parent 9283109 commit f79c0a3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a47029c16ad14c57160ec845ebdfcb368976bbca
refs/heads/master: e48d1988eefd1c160e3183549e8a51cd2b15be04
11 changes: 10 additions & 1 deletion trunk/arch/arm/mach-shmobile/pfc-r8a7740.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/sh_pfc.h>
#include <mach/r8a7740.h>
#include <mach/irqs.h>
Expand Down Expand Up @@ -2611,7 +2612,15 @@ static struct pinmux_info r8a7740_pinmux_info = {
.gpio_irq_size = ARRAY_SIZE(pinmux_irqs),
};

static struct platform_device r8a7740_pfc_device = {
.name = "sh-pfc",
.id = -1,
.dev = {
.platform_data = &r8a7740_pinmux_info,
},
};

void r8a7740_pinmux_init(void)
{
register_pinmux(&r8a7740_pinmux_info);
platform_device_register(&r8a7740_pfc_device);
}

0 comments on commit f79c0a3

Please sign in to comment.