ANDROID: mmc: Add vendor hooks
Add vendor hooks to support vendor-specific exception handling features. Bug: 185083720 Change-Id: I30381ed9835338308f2b03856f510a2982db6e6a Signed-off-by: fengmingli <mingli.feng@vivo.com>
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
#include <linux/dma-direction.h>
|
||||
#include <linux/keyslot-manager.h>
|
||||
|
||||
#include <linux/android_vendor.h>
|
||||
|
||||
struct mmc_ios {
|
||||
unsigned int clock; /* clock rate */
|
||||
unsigned short vdd;
|
||||
@@ -244,6 +246,7 @@ struct mmc_async_req {
|
||||
struct mmc_slot {
|
||||
int cd_irq;
|
||||
bool cd_wake_enabled;
|
||||
ANDROID_OEM_DATA_ARRAY(1, 2);
|
||||
void *handler_priv;
|
||||
};
|
||||
|
||||
@@ -482,6 +485,8 @@ struct mmc_host {
|
||||
/* Host Software Queue support */
|
||||
bool hsq_enabled;
|
||||
|
||||
ANDROID_OEM_DATA(1);
|
||||
|
||||
unsigned long private[] ____cacheline_aligned;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user