spi/xilinx_spi: fix incorrect casting
[safe/jmp/linux-2.6] / drivers / spi / Kconfig
index f34a2d1..c00f9e5 100644 (file)
@@ -243,8 +243,8 @@ config SPI_TXX9
          SPI driver for Toshiba TXx9 MIPS SoCs
 
 config SPI_XILINX
-       tristate "Xilinx SPI controller"
-       depends on EXPERIMENTAL
+       tristate "Xilinx SPI controller common module"
+       depends on HAS_IOMEM && EXPERIMENTAL
        select SPI_BITBANG
        select SPI_XILINX_OF if (XILINX_VIRTEX || MICROBLAZE)
        help
@@ -253,12 +253,21 @@ config SPI_XILINX
          See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
          Product Specification document (DS464) for hardware details.
 
+         Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"
+
 config SPI_XILINX_OF
        tristate "Xilinx SPI controller OF device"
        depends on SPI_XILINX && (XILINX_VIRTEX || MICROBLAZE)
        help
          This is the OF driver for the SPI controller IP from the Xilinx EDK.
 
+config SPI_XILINX_PLTFM
+       tristate "Xilinx SPI controller platform device"
+       depends on SPI_XILINX
+       help
+         This is the platform driver for the SPI controller IP
+         from the Xilinx EDK.
+
 #
 # Add new SPI master controllers in alphabetical order above this line
 #