Files
linux-legacy/include/linux
hartleys 66552f8908 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-12-03 00:01:39 -06:00
..
…
…
…
…
…
2009-06-18 08:46:47 +10:00
…
…
2009-07-12 12:22:34 -07:00
…
…
…
…
…
…
…
2010-08-10 11:51:04 -05:00
…
2009-06-30 18:55:58 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-07-29 19:10:35 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2009-07-12 12:22:34 -07:00
…
…
…
…
…
…
2010-08-10 11:44:23 -05:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-22 10:12:30 +01:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-07-08 09:18:05 -07:00
…
…
…
…
…
2009-06-24 08:17:04 -04:00
…
…
2009-06-30 18:56:00 -07:00
…
…
…
…
…
…
…
…
…
…
…
2009-06-30 20:12:24 +02:00
…
2009-06-18 13:04:05 -07:00
…
…
…
2009-07-12 12:22:34 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-29 08:59:10 +10:00
…
…
…
2009-06-18 13:03:57 -07:00
…
…
…
…
…
2009-07-31 08:55:48 +02:00
…
…
…
…
…
…
…
2009-06-18 13:03:56 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2010-08-10 11:50:18 -05:00
2009-06-23 20:21:39 +01:00
2009-07-30 16:03:45 +09:30
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-07-08 09:31:56 -07:00
2009-06-18 13:03:57 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-17 18:02:11 -07:00
2009-06-17 18:02:11 -07:00
…
2009-08-12 08:21:39 -07:00
…
2009-06-17 18:02:11 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-29 12:14:51 -07:00
2009-06-30 18:55:59 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-06-18 13:04:04 -07:00
2009-07-29 19:10:36 -07:00
…
…
…
…
…
…
2009-07-12 12:22:34 -07:00
…
…
…
…
…
…
…
…
…
2009-06-24 08:17:06 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-12-08 10:22:01 -08:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-07-06 13:57:03 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2009-10-05 09:32:34 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…