]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/blackfin/mach-bf533/boards/cm_bf533.c
Blackfin arch: move hard coded pin_req to board file
[karo-tx-linux.git] / arch / blackfin / mach-bf533 / boards / cm_bf533.c
index a863522a4467129d1d50006671af82280f8b0b9a..97e03d5d5a007c311de7da9f6781e04f9907c92f 100644 (file)
@@ -38,6 +38,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
@@ -175,6 +176,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 = {