summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/wmt-sdmmc.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 22:59:07 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2015-03-23 16:13:49 +0300
commit2530fd73252890320e6dac87bc3b854da27d594a (patch)
treebc45808fb1b2314a9be3319361869a714f1ad178 /drivers/mmc/host/wmt-sdmmc.c
parent303dbedc3152b0a3828ea881b446c2e2a247662f (diff)
downloadlinux-2530fd73252890320e6dac87bc3b854da27d594a.tar.xz
mmc: constify of_device_id array
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/wmt-sdmmc.c')
-rw-r--r--drivers/mmc/host/wmt-sdmmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c
index dd2e1aa95ba3..5af00559e9d6 100644
--- a/drivers/mmc/host/wmt-sdmmc.c
+++ b/drivers/mmc/host/wmt-sdmmc.c
@@ -744,7 +744,7 @@ static struct wmt_mci_caps wm8505_caps = {
.max_blk_size = 2048,
};
-static struct of_device_id wmt_mci_dt_ids[] = {
+static const struct of_device_id wmt_mci_dt_ids[] = {
{ .compatible = "wm,wm8505-sdhc", .data = &wm8505_caps },
{ /* Sentinel */ },
};