android_kernel_xiaomi_sm8350/include/linux/spi
hartleys 41c4221ca6 spi: move bitbang txrx utility functions to private header
A number of files in drivers/spi fail checkincludes.pl due to the double
include of <linux/spi/spi_bitbang.h>.

The first include is needed to get the struct spi_bitbang definition and
the spi_bitbang_* function prototypes.

The second include happens after defining EXPAND_BITBANG_TXRX to get the
inlined bitbang_txrx_* utility functions.

The <linux/spi/spi_bitbang.h> header is also included by a number of other
spi drivers, as well as some arch/ code, in order to use struct spi_bitbang
and the associated functions.

To fix the double include, and remove any potential confusion about it, move
the inlined bitbang_txrx_* functions to a new private header in drivers/spi
and also remove the need to define EXPAND_BITBANG_TXRX.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
2010-05-25 00:23:17 -06:00
..
ad7877.h
ad7879.h Input: ad7879 - support auxiliary GPIOs via gpiolib 2010-01-19 00:31:51 -08:00
ads7846.h Input: ads7846 - add wakeup support 2010-03-11 00:02:43 -08:00
at73c213.h
corgi_lcd.h
ds1305.h
dw_spi.h spi/dw_spi: enable platform specific chipselect. 2010-01-21 07:24:29 -07:00
eeprom.h
flash.h
Kbuild
l4f00242t03.h backlight: Add Epson L4F00242T03 LCD driver 2010-03-16 19:47:53 +00:00
libertas_spi.h
lms283gf05.h
max7301.h gpio: add driver for MAX7300 I2C GPIO extender 2010-03-06 11:26:48 -08:00
mc33880.h
mcp23s08.h
mmc_spi.h
orion_spi.h
sh_msiof.h
spi_bitbang.h spi: move bitbang txrx utility functions to private header 2010-05-25 00:23:17 -06:00
spi_gpio.h
spi.h include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
spidev.h
tdo24m.h
tle62x0.h
wl12xx.h
xilinx_spi.h