diff options
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-pata_imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-pata_imx.c b/arch/arm/plat-mxc/devices/platform-pata_imx.c index de33048aad6a..70e2f2a44714 100644 --- a/arch/arm/plat-mxc/devices/platform-pata_imx.c +++ b/arch/arm/plat-mxc/devices/platform-pata_imx.c | |||
@@ -44,7 +44,7 @@ struct platform_device *__init imx_add_pata_imx( | |||
44 | struct resource res[] = { | 44 | struct resource res[] = { |
45 | { | 45 | { |
46 | .start = data->iobase, | 46 | .start = data->iobase, |
47 | .end = data->iobase + data->iobase - 1, | 47 | .end = data->iobase + data->iosize - 1, |
48 | .flags = IORESOURCE_MEM, | 48 | .flags = IORESOURCE_MEM, |
49 | }, | 49 | }, |
50 | { | 50 | { |