aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/mmc_spi.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-16 20:59:07 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2015-03-23 14:13:49 +0100
commit2530fd73252890320e6dac87bc3b854da27d594a (patch)
treebc45808fb1b2314a9be3319361869a714f1ad178 /drivers/mmc/host/mmc_spi.c
parentmmc: core: fold mmc_set_bus_width calls into sdio_enable_4bit_bus. (diff)
downloadlinux-dev-2530fd73252890320e6dac87bc3b854da27d594a.tar.xz
linux-dev-2530fd73252890320e6dac87bc3b854da27d594a.zip
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/mmc_spi.c')
-rw-r--r--drivers/mmc/host/mmc_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
index e4a07546f8b6..ae19d83bb9de 100644
--- a/drivers/mmc/host/mmc_spi.c
+++ b/drivers/mmc/host/mmc_spi.c
@@ -1507,7 +1507,7 @@ static int mmc_spi_remove(struct spi_device *spi)
return 0;
}
-static struct of_device_id mmc_spi_of_match_table[] = {
+static const struct of_device_id mmc_spi_of_match_table[] = {
{ .compatible = "mmc-spi-slot", },
{},
};