Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235379
b: refs/heads/master
c: a9031e5
h: refs/heads/master
i:
  235377: e5e0eda
  235375: 0a0583b
v: v3
  • Loading branch information
Felipe Balbi committed Mar 1, 2011
1 parent 4f14c8b commit e1256d9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 87ecc73b3d74ca70100e7100313c005fa471f177
refs/heads/master: a9031e5f0b82225ea676d729d68beb6c69799a67
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-omap2/usb-ehci.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,11 @@ void __init usb_ehci_init(const struct ehci_hcd_omap_platform_data *pdata)
setup_4430ehci_io_mux(pdata->port_mode);
}

ehci_resources[0].name = "ehci";
ehci_resources[1].name = "uhh";
ehci_resources[2].name = "tll";
ehci_resources[3].name = "irq";

if (platform_device_register(&ehci_device) < 0) {
printk(KERN_ERR "Unable to register HS-USB (EHCI) device\n");
return;
Expand All @@ -369,21 +374,25 @@ void __init usb_ehci_init(const struct ehci_hcd_omap_platform_data *pdata)

static struct resource ohci_resources[] = {
{
.name = "ohci",
.start = OMAP34XX_OHCI_BASE,
.end = OMAP34XX_OHCI_BASE + SZ_1K - 1,
.flags = IORESOURCE_MEM,
},
{
.name = "uhh",
.start = OMAP34XX_UHH_CONFIG_BASE,
.end = OMAP34XX_UHH_CONFIG_BASE + SZ_1K - 1,
.flags = IORESOURCE_MEM,
},
{
.name = "tll",
.start = OMAP34XX_USBTLL_BASE,
.end = OMAP34XX_USBTLL_BASE + SZ_4K - 1,
.flags = IORESOURCE_MEM,
},
{ /* general IRQ */
.name = "irq",
.start = INT_34XX_OHCI_IRQ,
.flags = IORESOURCE_IRQ,
}
Expand Down

0 comments on commit e1256d9

Please sign in to comment.