|
Linux Kernel
3.7.1
|
#include <host.h>
Data Fields | |
| int | cd_irq |
| struct mutex | lock |
| void * | handler_priv |
struct mmc_slot - MMC slot functions
: MMC/SD-card slot hotplug detection IRQ or -EINVAL : protect the pointer : MMC/SD-card slot context
Some MMC/SD host controllers implement slot-functions like card and write-protect detection natively. However, a large number of controllers leave these functions to the CPU. This struct provides a hook to attach such slot-function drivers.
1.8.2