summaryrefslogtreecommitdiff
path: root/drivers/spi/omap3_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/spi/omap3_spi.c')
-rw-r--r--drivers/spi/omap3_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c
index 6bac245..3b38c34 100644
--- a/drivers/spi/omap3_spi.c
+++ b/drivers/spi/omap3_spi.c
@@ -83,7 +83,7 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
regs = (struct mcspi *)OMAP3_MCSPI2_BASE;
break;
#endif
-#ifdef OMAP3_MCSPI3_BASE
+#ifdef OMAP3_MCSPI3_BASE
case 2:
regs = (struct mcspi *)OMAP3_MCSPI3_BASE;
break;