diff options
author | Gwenhael Goavec-Merou <gwe@trabucayre.com> | 2013-01-13 16:56:42 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-01-14 01:16:11 +0100 |
commit | 006e792ba5f60c59d8bc5ac5628c54e021e8580f (patch) | |
tree | d52b737c9e44313e49f42a8aa5c0779a42c3768e /arch/arm/mach-imx/devices | |
parent | ARM: imx: fix build error with !CONFIG_SMP (diff) | |
download | linux-006e792ba5f60c59d8bc5ac5628c54e021e8580f.tar.xz linux-006e792ba5f60c59d8bc5ac5628c54e021e8580f.zip |
ARM: imx: platform-imx-fb: modifies platform device name
Framebuffer platform device is now identified by a device id (imx1-fb or
imx21-fb) instead of by driver name (imx-fb).
Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/devices')
-rw-r--r-- | arch/arm/mach-imx/devices/platform-imx-fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/devices/platform-imx-fb.c b/arch/arm/mach-imx/devices/platform-imx-fb.c index 10b0ed39f07f..25a47c616b2d 100644 --- a/arch/arm/mach-imx/devices/platform-imx-fb.c +++ b/arch/arm/mach-imx/devices/platform-imx-fb.c @@ -54,7 +54,7 @@ struct platform_device *__init imx_add_imx_fb( .flags = IORESOURCE_IRQ, }, }; - return imx_add_platform_device_dmamask("imx-fb", 0, + return imx_add_platform_device_dmamask(data->devid, 0, res, ARRAY_SIZE(res), pdata, sizeof(*pdata), DMA_BIT_MASK(32)); } |