mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
ANDROID: GKI: ufs: add Android ABI padding to some structures
Try to mitigate potential future driver core api changes by adding padding to struct ufs_hba_variant_ops, struct ufs_hba_crypto_variant_ops, and struct ufs_hba. Bug: 151154716 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ib881e531d87eae1f7a5ca312bd36086d62ccaf94
This commit is contained in:
parent
9e69f3ecca
commit
764e461bad
1 changed files with 16 additions and 0 deletions
|
|
@ -67,6 +67,7 @@
|
|||
#include <scsi/scsi_tcq.h>
|
||||
#include <scsi/scsi_dbg.h>
|
||||
#include <scsi/scsi_eh.h>
|
||||
#include <linux/android_kabi.h>
|
||||
|
||||
#include "ufs.h"
|
||||
#include "ufshci.h"
|
||||
|
|
@ -359,6 +360,11 @@ struct ufs_hba_variant_ops {
|
|||
void (*config_scaling_param)(struct ufs_hba *hba,
|
||||
struct devfreq_dev_profile *profile,
|
||||
void *data);
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
ANDROID_KABI_RESERVE(3);
|
||||
ANDROID_KABI_RESERVE(4);
|
||||
};
|
||||
|
||||
struct keyslot_mgmt_ll_ops;
|
||||
|
|
@ -382,6 +388,11 @@ struct ufs_hba_crypto_variant_ops {
|
|||
struct scsi_cmnd *cmd,
|
||||
struct ufshcd_lrb *lrbp);
|
||||
void *priv;
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
ANDROID_KABI_RESERVE(3);
|
||||
ANDROID_KABI_RESERVE(4);
|
||||
};
|
||||
|
||||
/* clock gating state */
|
||||
|
|
@ -812,6 +823,11 @@ struct ufs_hba {
|
|||
u32 crypto_cfg_register;
|
||||
struct keyslot_manager *ksm;
|
||||
#endif /* CONFIG_SCSI_UFS_CRYPTO */
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
ANDROID_KABI_RESERVE(3);
|
||||
ANDROID_KABI_RESERVE(4);
|
||||
};
|
||||
|
||||
/* Returns true if clocks can be gated. Otherwise false */
|
||||
|
|
|
|||
Loading…
Reference in a new issue