From: Gwenhael Goavec-Merou Date: Sun, 13 Jan 2013 15:56:42 +0000 (+0100) Subject: ARM: imx: platform-imx-fb: modifies platform device name X-Git-Tag: v3.12-rc1~1530^2~2^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=006e792ba5f60c59d8bc5ac5628c54e021e8580f;p=kernel%2Fkernel-generic.git 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 Signed-off-by: Shawn Guo --- diff --git a/arch/arm/mach-imx/devices/platform-imx-fb.c b/arch/arm/mach-imx/devices/platform-imx-fb.c index 10b0ed3..25a47c6 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)); }