diff options
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
| -rw-r--r-- | drivers/usb/musb/omap2430.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index 6708a3b78ad8..f44e8b5e00c9 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c | |||
| @@ -481,7 +481,7 @@ static u64 omap2430_dmamask = DMA_BIT_MASK(32); | |||
| 481 | 481 | ||
| 482 | static int omap2430_probe(struct platform_device *pdev) | 482 | static int omap2430_probe(struct platform_device *pdev) |
| 483 | { | 483 | { |
| 484 | struct resource musb_resources[2]; | 484 | struct resource musb_resources[3]; |
| 485 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; | 485 | struct musb_hdrc_platform_data *pdata = pdev->dev.platform_data; |
| 486 | struct omap_musb_board_data *data; | 486 | struct omap_musb_board_data *data; |
| 487 | struct platform_device *musb; | 487 | struct platform_device *musb; |
| @@ -581,6 +581,11 @@ static int omap2430_probe(struct platform_device *pdev) | |||
| 581 | musb_resources[1].end = pdev->resource[1].end; | 581 | musb_resources[1].end = pdev->resource[1].end; |
| 582 | musb_resources[1].flags = pdev->resource[1].flags; | 582 | musb_resources[1].flags = pdev->resource[1].flags; |
| 583 | 583 | ||
| 584 | musb_resources[2].name = pdev->resource[2].name; | ||
| 585 | musb_resources[2].start = pdev->resource[2].start; | ||
| 586 | musb_resources[2].end = pdev->resource[2].end; | ||
| 587 | musb_resources[2].flags = pdev->resource[2].flags; | ||
| 588 | |||
| 584 | ret = platform_device_add_resources(musb, musb_resources, | 589 | ret = platform_device_add_resources(musb, musb_resources, |
| 585 | ARRAY_SIZE(musb_resources)); | 590 | ARRAY_SIZE(musb_resources)); |
| 586 | if (ret) { | 591 | if (ret) { |
