]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/spi/spi_bitbang.h
Merge branch 'for-2.6.28' of git://linux-nfs.org/~bfields/linux
[linux-2.6-omap-h63xx.git] / include / linux / spi / spi_bitbang.h
index 9dbca629dcfbfb2f401965e9a4ff87ddda38ce2c..bf8de281b4ed2a8e8131d34274711f81520d70f6 100644 (file)
@@ -18,6 +18,9 @@
  *     duplex (MicroWire) controllers.  Provide chipslect() and txrx_bufs(),
  *     and custom setup()/cleanup() methods.
  */
+
+#include <linux/workqueue.h>
+
 struct spi_bitbang {
        struct workqueue_struct *workqueue;
        struct work_struct      work;
@@ -26,6 +29,7 @@ struct spi_bitbang {
        struct list_head        queue;
        u8                      busy;
        u8                      use_dma;
+       u8                      flags;          /* extra spi->mode support */
 
        struct spi_master       *master;