diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-01-31 11:12:56 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-01-31 18:25:44 +0800 |
commit | d560040f7d6fbe0a2990b8f6edca1815e19e72f5 (patch) | |
tree | 0cec0d54116d6b10e640108e76476c5e03933ba9 /drivers/spi/spi-bcm63xx.c | |
parent | 5cbc7ca987fb3f293203dc14a6c53b91b7c978a5 (diff) | |
download | op-kernel-dev-d560040f7d6fbe0a2990b8f6edca1815e19e72f5.zip op-kernel-dev-d560040f7d6fbe0a2990b8f6edca1815e19e72f5.tar.gz |
spi: spi-gpio: fix compilation warning on 64 bits systems
SPI_GPIO_NO_MOSI and SPI_GPIO_NO_MISO flags are type casted to unsigned
long, yet, they are to be stored in an unsigned int field in the
spi_gpio_platform_data structure.
This leads to the following warning during compilation on 64 bits systems:
warning: large integer implicitly truncated to unsigned type [-Woverflow]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/spi/spi-bcm63xx.c')
0 files changed, 0 insertions, 0 deletions