diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-07-31 14:03:53 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-08-30 14:01:45 +0200 |
commit | 306d74d902e2650d8484a48008d9c623e286666e (patch) | |
tree | 7911d84b600d207ecaf4f90d0b23950e8ab83e72 /drivers/mmc | |
parent | mmc: bcm2835: constify mmc_host_ops structures (diff) | |
download | linux-306d74d902e2650d8484a48008d9c623e286666e.tar.xz linux-306d74d902e2650d8484a48008d9c623e286666e.zip |
mmc: of_mmc_spi: fix restricted cast warning of sparse
Sparse reports "warning: cast to restricted __be32".
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/of_mmc_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/of_mmc_spi.c b/drivers/mmc/host/of_mmc_spi.c index 85bbebfde02e..c9eed8436b6b 100644 --- a/drivers/mmc/host/of_mmc_spi.c +++ b/drivers/mmc/host/of_mmc_spi.c @@ -71,7 +71,7 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi) struct device *dev = &spi->dev; struct device_node *np = dev->of_node; struct of_mmc_spi *oms; - const u32 *voltage_ranges; + const __be32 *voltage_ranges; int num_ranges; int i; |