Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355353
b: refs/heads/master
c: 5812e8d
h: refs/heads/master
i:
  355351: f79c0a3
v: v3
  • Loading branch information
Laurent Pinchart authored and Simon Horman committed Jan 25, 2013
1 parent 40a62e4 commit 59aa4e1
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: 74494117a5d57302561efa6891c5210ba33f500c
refs/heads/master: 5812e8d4934f60cf0b000a6e8203aefeb5a815f6
11 changes: 10 additions & 1 deletion trunk/arch/arm/mach-shmobile/pfc-sh7372.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/sh_pfc.h>
#include <mach/irqs.h>
#include <mach/sh7372.h>
Expand Down Expand Up @@ -1657,7 +1658,15 @@ static struct pinmux_info sh7372_pinmux_info = {
.gpio_irq_size = ARRAY_SIZE(pinmux_irqs),
};

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

void sh7372_pinmux_init(void)
{
register_pinmux(&sh7372_pinmux_info);
platform_device_register(&sh7372_pfc_device);
}

0 comments on commit 59aa4e1

Please sign in to comment.