Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -71,7 +71,7 @@ struct mmc_spi_platform_data *mmc_spi_get_pdata(struct spi_device *spi)
	struct device *dev = &spi->dev;
	struct device *dev = &spi->dev;
	struct device_node *np = dev->of_node;
	struct device_node *np = dev->of_node;
	struct of_mmc_spi *oms;
	struct of_mmc_spi *oms;
	const u32 *voltage_ranges;
	const __be32 *voltage_ranges;
	int num_ranges;
	int num_ranges;
	int i;
	int i;