Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355354
b: refs/heads/master
c: 49a8dd6
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Simon Horman committed Jan 25, 2013
1 parent 59aa4e1 commit 587ff91
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: 5812e8d4934f60cf0b000a6e8203aefeb5a815f6
refs/heads/master: 49a8dd66c5bb224878cacc7eccb523e30ccaedc9
11 changes: 10 additions & 1 deletion trunk/arch/arm/mach-shmobile/pfc-sh73a0.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/sh73a0.h>
#include <mach/irqs.h>
Expand Down Expand Up @@ -2797,7 +2798,15 @@ static struct pinmux_info sh73a0_pinmux_info = {
.gpio_irq_size = ARRAY_SIZE(pinmux_irqs),
};

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

void sh73a0_pinmux_init(void)
{
register_pinmux(&sh73a0_pinmux_info);
platform_device_register(&sh73a0_pfc_device);
}

0 comments on commit 587ff91

Please sign in to comment.