Skip to content

Commit

Permalink
ARM: imx: platform-imx-fb: modifies platform device name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gwenhael Goavec-Merou authored and Shawn Guo committed Jan 14, 2013
1 parent aec99b7 commit 006e792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-imx/devices/platform-imx-fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

0 comments on commit 006e792

Please sign in to comment.