linux-imx/include/linux/spi
Baruch Siach cd2f884550 spi: uapi: spidev: add missing ioctl header
commit a2b4a79b88 upstream.

The SPI_IOC_MESSAGE() macro references _IOC_SIZEBITS. Add linux/ioctl.h
to make sure this macro is defined. This fixes the following build
failure of lcdproc with the musl libc:

In file included from .../sysroot/usr/include/sys/ioctl.h:7:0,
                 from hd44780-spi.c:31:
hd44780-spi.c: In function 'spi_transfer':
hd44780-spi.c:89:24: error: '_IOC_SIZEBITS' undeclared (first use in this function)
  status = ioctl(p->fd, SPI_IOC_MESSAGE(1), &xfer);
                        ^

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Mark Brown <broonie@kernel.org>
[bwh: Backported to 3.2: adjust filename]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-01-01 20:50:48 +00:00
..
74x164.h gpio/74x164: remove unnecessary defines and prototype 2011-06-03 12:14:16 -06:00
ad7877.h
ad7879.h
ads7846.h
at73c213.h
corgi_lcd.h
ds1305.h
eeprom.h
flash.h
ifx_modem.h
Kbuild
l4f00242t03.h backlight: fix broken regulator API usage in l4f00242t03 2011-10-31 17:30:54 -07:00
libertas_spi.h
lms283gf05.h
max7301.h
mc33880.h
mcp23s08.h mcp23s08: get rid of setup/teardown callbacks 2011-07-15 13:54:17 -06:00
mmc_spi.h
orion_spi.h
pxa2xx_spi.h
sh_msiof.h
spi_bitbang.h
spi_gpio.h
spi_oc_tiny.h
spi.h spi: Use void pointers for data in simple SPI I/O operations 2011-05-20 00:43:07 -06:00
spidev.h spi: uapi: spidev: add missing ioctl header 2018-01-01 20:50:48 +00:00
tdo24m.h
tle62x0.h
tsc2005.h
xilinx_spi.h