Commit 20de7841 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: fix up abi change in struct sdhci_host



In commit 57ee7bc4 ("mmc: sdhci: Fix voltage switch delay"), two new
fields were added to struct sdhci_host, drv_type and reinit_uhs.  Use
the ABI padding we have in place in this structure for these new fields,
and make reinit_uhs a bitfield, not a boolean, preserving a bit more
space for any future changes that might happen.

As we are using an ANDROID_KABI_RESERVE() macro, we also need to update
the .xml file with the new signature change in the structure:

type 'struct sdhci_host' changed
  member 'union { struct { u8 reinit_uhs; u8 reserve01; u8 drv_type; u16 reserve02; u32 reserve03; }; struct { u64 android_kabi_reserved1; }; union { }; }' was added
  member 'u64 android_kabi_reserved1' was removed

Bug: 161946584
Fixes: 57ee7bc4 ("mmc: sdhci: Fix voltage switch delay")
Change-Id: Ia4fb8523495ce24a54cae9652452ad9e24f8bf66
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent ebd1f801
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment