1. 04 7月, 2010 1 次提交
  2. 25 5月, 2010 1 次提交
    • H
      spi: move bitbang txrx utility functions to private header · 41c4221c
      hartleys 提交于
      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: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      41c4221c
  3. 07 1月, 2009 2 次提交
  4. 17 10月, 2007 1 次提交
  5. 18 7月, 2007 1 次提交