static struct resource musb_resources[] = {
[0] = {
.start = OMAP243X_HS_BASE,
- .end = OMAP243X_HS_BASE + SZ_8K,
+ .end = OMAP243X_HS_BASE + SZ_8K - 1,
.flags = IORESOURCE_MEM,
},
[1] = { /* general IRQ */
static struct resource musb_resources[] = {
[0] = {
.start = OMAP34XX_HSUSB_OTG_BASE,
- .end = OMAP34XX_HSUSB_OTG_BASE + SZ_8K,
+ .end = OMAP34XX_HSUSB_OTG_BASE + SZ_8K - 1,
.flags = IORESOURCE_MEM,
},
[1] = { /* general IRQ */
static struct resource ehci_resources[] = {
[0] = {
.start = OMAP34XX_HSUSB_HOST_BASE + 0x800,
- .end = OMAP34XX_HSUSB_HOST_BASE + 0x800 + SZ_1K,
+ .end = OMAP34XX_HSUSB_HOST_BASE + 0x800 + SZ_1K - 1,
.flags = IORESOURCE_MEM,
},
[1] = { /* general IRQ */