mmc: mxcmmc: constify mxcmci_devtype
mxcmci_devtype struct contains constant data, so constify this struct. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Chris Ball <cjb@laptop.org>
This commit is contained in:
parent
bcf53524ac
commit
42477053c3
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue