]> err.no Git - linux-2.6/blobdiff - arch/blackfin/mach-bf533/boards/H8606.c
Blackfin arch: move hard coded pin_req to board file
[linux-2.6] / arch / blackfin / mach-bf533 / boards / H8606.c
index b941550f9568e28b5774f5005fa2e75f8a33fa63..fe2634b5bcad58c6bea805fcb9c865f861cd3247 100644 (file)
@@ -43,6 +43,7 @@
 #include <asm/dma.h>
 #include <asm/bfin5xx_spi.h>
 #include <asm/reboot.h>
+#include <asm/portmux.h>
 
 /*
  * Name the Board for the /proc/cpuinfo
@@ -269,6 +270,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 = {