Commit 306d74d9 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Ulf Hansson

mmc: of_mmc_spi: fix restricted cast warning of sparse

Sparse reports "warning: cast to restricted __be32".
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 2c9e89a1
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment