From e41d78e8486741cced6d788e24ef4b808a57af87 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 4 Mar 2015 07:23:46 -0600 Subject: [PATCH] Add missing CONFIG_SPI_CALLBACK selection to the drivers/spi/Kconfig. Noted by Freddie Chopin --- drivers/spi/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index b7a59a865e..8ac009ce33 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -29,6 +29,15 @@ config SPI_CMDDATA either 9-bit SPI (yech) or 8-bit SPI and a GPIO output that selects between command and data. +config SPI_CALLBACK + bool "Media change callbacks" + default y if MMCSD_SPI + default n if !MMCSD_SPI + ---help--- + Support the callback method in the SPI interface. This will allow + the SPI-based MMC/SD driver to get a notification of changes in the + card status when an SD card is inserted or removed. + config SPI_BITBANG bool "SPI bit-bang device" default n