summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-bcm-qspi.c
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2017-09-10 17:29:45 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-02 08:49:13 (GMT)
commit1dfea1eeac6499cb2c95d19cd368f6d80998c0d3 (patch)
tree8c2d04e8c8c879f0ef618f4ed31c40a75d9013c1 /drivers/spi/spi-bcm-qspi.c
parent474cb9e0f02fdabadfc5ecc17b9afbb0ca6aa15a (diff)
downloadlinux-1dfea1eeac6499cb2c95d19cd368f6d80998c0d3.tar.xz
spi: uapi: spidev: add missing ioctl header
commit a2b4a79b88b24c49d98d45a06a014ffd22ada1a4 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi/spi-bcm-qspi.c')
0 files changed, 0 insertions, 0 deletions