Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336401
b: refs/heads/master
c: f482833
h: refs/heads/master
i:
  336399: fe33efc
v: v3
  • Loading branch information
Jonas Aaberg authored and Linus Walleij committed Nov 8, 2012
1 parent e5b04ac commit 897d90f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 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: 8c995d6dd66a713dba2a3de4924108318af7bbf0
refs/heads/master: f48283367fd2679906e06bdd9e886eec1ee59eb1
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-ux500/cpu-db8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static void __init db8500_add_gpios(struct device *parent)

dbx500_add_gpios(parent, ARRAY_AND_SIZE(db8500_gpio_base),
IRQ_DB8500_GPIO0, &pdata);
dbx500_add_pinctrl(parent, "pinctrl-db8500");
dbx500_add_pinctrl(parent, "pinctrl-db8500", U8500_PRCMU_BASE);
}

static int usb_db8500_rx_dma_cfg[] = {
Expand Down
8 changes: 7 additions & 1 deletion trunk/arch/arm/mach-ux500/devices-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,18 @@ void dbx500_add_gpios(struct device *parent, resource_size_t *base, int num,
int irq, struct nmk_gpio_platform_data *pdata);

static inline void
dbx500_add_pinctrl(struct device *parent, const char *name)
dbx500_add_pinctrl(struct device *parent, const char *name,
resource_size_t base)
{
struct resource res[] = {
DEFINE_RES_MEM(base, SZ_8K),
};
struct platform_device_info pdevinfo = {
.parent = parent,
.name = name,
.id = -1,
.res = res,
.num_res = ARRAY_SIZE(res),
};

platform_device_register_full(&pdevinfo);
Expand Down

0 comments on commit 897d90f

Please sign in to comment.