diff options
Diffstat (limited to 'drivers/mmc/host/sh_mobile_sdhi.c')
| -rw-r--r-- | drivers/mmc/host/sh_mobile_sdhi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c index cc4c872cc924..a4316b34df1f 100644 --- a/drivers/mmc/host/sh_mobile_sdhi.c +++ b/drivers/mmc/host/sh_mobile_sdhi.c | |||
| @@ -273,8 +273,10 @@ static int sh_mobile_sdhi_probe(struct platform_device *pdev) | |||
| 273 | } | 273 | } |
| 274 | 274 | ||
| 275 | /* There must be at least one IRQ source */ | 275 | /* There must be at least one IRQ source */ |
| 276 | if (!i) | 276 | if (!i) { |
| 277 | ret = irq; | ||
| 277 | goto eirq; | 278 | goto eirq; |
| 279 | } | ||
| 278 | } | 280 | } |
| 279 | 281 | ||
| 280 | dev_info(&pdev->dev, "%s base at 0x%08lx clock rate %u MHz\n", | 282 | dev_info(&pdev->dev, "%s base at 0x%08lx clock rate %u MHz\n", |
