]> err.no Git - linux-2.6/blobdiff - arch/blackfin/mach-bf537/boards/cm_bf537.c
Blackfin arch: move hard coded pin_req to board file
[linux-2.6] / arch / blackfin / mach-bf537 / boards / cm_bf537.c
index 2915931045e32978bfd4fffd4dea23b0f1623f6a..18bda5412b50c8c065731afc1ac93b38eb131e7e 100644 (file)
@@ -39,6 +39,7 @@
 #include <linux/irq.h>
 #include <asm/dma.h>
 #include <asm/bfin5xx_spi.h>
+#include <asm/portmux.h>
 
 /*
  * Name the Board for the /proc/cpuinfo
@@ -194,6 +195,7 @@ static struct resource bfin_spi0_resource[] = {
 static struct bfin5xx_spi_master bfin_spi0_info = {
        .num_chipselect = 8,
        .enable_dma = 1,  /* master has the ability to do dma transfer */
+       .pin_req = {P_SPI0_SCK, P_SPI0_MISO, P_SPI0_MOSI, 0},
 };
 
 static struct platform_device bfin_spi0_device = {