do not override CONFIG_CONFIGFS_FS in a few places, and make gpiommc be selectable...
[openwrt/staging/yousong.git] / target / linux / generic-2.6 / patches-2.6.28 / 922-gpiommc.patch
index 5367de87221e21e1c134f77eeac4ab7ed31a376e..5d9e44d7312c8a282aefe37338dd1bbd0beeedad 100644 (file)
@@ -15,7 +15,7 @@
 +#include <linux/platform_device.h>
 +#include <linux/list.h>
 +#include <linux/mutex.h>
-+#include <linux/spi/spi_gpio.h>
++#include <linux/spi/spi_gpio_old.h>
 +#include <linux/configfs.h>
 +#include <linux/gpio.h>
 +#include <asm/atomic.h>
 +
 +config GPIOMMC
 +      tristate "MMC/SD over GPIO-based SPI"
-+      depends on MMC && MMC_SPI && SPI_GPIO
++      depends on MMC && MMC_SPI && (SPI_GPIO || SPI_GPIO_OLD)
 +      help
 +        This driver hooks up the mmc_spi and spi_gpio modules so that
 +        MMC/SD cards can be used on a GPIO based bus by bitbanging