aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi_mpc8xxx.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-11-24 00:06:48 -0500
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-11-24 01:00:27 -0500
commit7d6709a20866a885916214590b7c394a21be9e25 (patch)
tree3be8cbb1171fbc9bb2f19d96244bc54b96d3d4ee /drivers/spi/spi_mpc8xxx.c
parentdad2f2fb0fc74afb634beba8c57bb34bb862d4c6 (diff)
powerpc: Fix build of some FSL platforms
Commit 87ec0e98cfdd8b68da6a7f9e70142ffc0e404fbb in kumar's next branch broke one of my test configs since it looks like Anton forgot about that mpc832x_rdb platform which still uses the old style probing for the SPI stuff. I'll let them do a cleaner fix that probably involves changing the probing method and getting rid of the platform device but for now this will do to fix it. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'drivers/spi/spi_mpc8xxx.c')
-rw-r--r--drivers/spi/spi_mpc8xxx.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/spi/spi_mpc8xxx.c b/drivers/spi/spi_mpc8xxx.c
index 394b6581e17f..930135dc73ba 100644
--- a/drivers/spi/spi_mpc8xxx.c
+++ b/drivers/spi/spi_mpc8xxx.c
@@ -163,11 +163,6 @@ struct mpc8xxx_spi {
163 u32 tx_shift; /* TX data reg shift when in qe mode */ 163 u32 tx_shift; /* TX data reg shift when in qe mode */
164 164
165 unsigned int flags; 165 unsigned int flags;
166#define SPI_QE_CPU_MODE (1 << 0) /* QE CPU ("PIO") mode */
167#define SPI_CPM_MODE (1 << 1) /* CPM/QE ("DMA") mode */
168#define SPI_CPM1 (1 << 2) /* SPI unit is in CPM1 block */
169#define SPI_CPM2 (1 << 3) /* SPI unit is in CPM2 block */
170#define SPI_QE (1 << 4) /* SPI unit is in QE block */
171 166
172 struct workqueue_struct *workqueue; 167 struct workqueue_struct *workqueue;
173 struct work_struct work; 168 struct work_struct work;