提交 42477053 编写于 作者: A Anatolij Gustschin 提交者: Chris Ball

mmc: mxcmmc: constify mxcmci_devtype

mxcmci_devtype struct contains constant data, so
constify this struct.
Signed-off-by: NAnatolij Gustschin <agust@denx.de>
Acked-by: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NChris Ball <cjb@laptop.org>
上级 bcf53524
......@@ -165,7 +165,7 @@ struct mxcmci_host {
enum mxcmci_type devtype;
};
static struct platform_device_id mxcmci_devtype[] = {
static const struct platform_device_id mxcmci_devtype[] = {
{
.name = "imx21-mmc",
.driver_data = IMX21_MMC,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部