From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Subject: [PATCH v2 3/5] mmc: mxcmmc: constify mxcmci_devtype Date: Mon, 1 Apr 2013 00:23:03 +0200 Message-ID: <1364768585-5177-4-git-send-email-agust@denx.de> References: <1364768585-5177-1-git-send-email-agust@denx.de> Return-path: In-Reply-To: <1364768585-5177-1-git-send-email-agust@denx.de> Sender: linux-mmc-owner@vger.kernel.org To: linux-mmc@vger.kernel.org Cc: Chris Ball , Sascha Hauer , Markus Pargmann , devicetree-discuss@lists.ozlabs.org, Anatolij Gustschin List-Id: devicetree@vger.kernel.org mxcmci_devtype struct contains constant data, so constify this struct. Signed-off-by: Anatolij Gustschin --- v2: - remove build warning fix (already fixed elsewhere) and change commit log drivers/mmc/host/mxcmmc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 7fe93dd..dbacbde 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c @@ -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, -- 1.7.5.4