Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 372543
b: refs/heads/master
c: 631b09d
h: refs/heads/master
i:
  372541: 7d9e36f
  372539: d88ff26
  372535: 88c10a5
  372527: 4e0ae28
  372511: 4927e08
  372479: 633d341
v: v3
  • Loading branch information
Laurent Pinchart committed Mar 15, 2013
1 parent ea97369 commit 2c29164
Show file tree
Hide file tree
Showing 2 changed files with 13 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: 3d8d9f1df93362f319cf60b9ad10721a059b058f
refs/heads/master: 631b09d1150fd66b3815253ed6e6c30ac5040efc
13 changes: 12 additions & 1 deletion trunk/arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,23 @@
* for more details.
*/

#include <linux/bug.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <cpu/pfc.h>

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);

0 comments on commit 2c29164

Please sign in to comment.