ANDROID: GKI: mmc: add Android ABI padding to some structures
Add ABI padding to some of the data structures to accommodate new eMMC features enablement later. Bug: 192337957 Change-Id: Ica3f96ea004fb89e4b46ef9734864c655cdcd277 Signed-off-by: Sahitya Tummala <quic_stummala@quicinc.com>
This commit is contained in:

committed by
Todd Kjos

parent
00d9f57a69
commit
f45304d091
@@ -30,6 +30,8 @@ struct mmc_bus_ops {
|
||||
int (*hw_reset)(struct mmc_host *);
|
||||
int (*sw_reset)(struct mmc_host *);
|
||||
bool (*cache_enabled)(struct mmc_host *);
|
||||
|
||||
ANDROID_VENDOR_DATA_ARRAY(1, 2);
|
||||
};
|
||||
|
||||
void mmc_attach_bus(struct mmc_host *host, const struct mmc_bus_ops *ops);
|
||||
|
@@ -313,6 +313,8 @@ struct mmc_card {
|
||||
|
||||
unsigned int bouncesz; /* Bounce buffer size */
|
||||
struct workqueue_struct *complete_wq; /* Private workqueue */
|
||||
|
||||
ANDROID_VENDOR_DATA(1);
|
||||
};
|
||||
|
||||
static inline bool mmc_large_sector(struct mmc_card *card)
|
||||
|
@@ -485,6 +485,7 @@ struct mmc_host {
|
||||
/* Host Software Queue support */
|
||||
bool hsq_enabled;
|
||||
|
||||
ANDROID_VENDOR_DATA(1);
|
||||
ANDROID_OEM_DATA(1);
|
||||
|
||||
unsigned long private[] ____cacheline_aligned;
|
||||
|
Reference in New Issue
Block a user