OSDN Git Service

ANDROID: GKI: device.h: add Android ABI padding to some structures
authorGreg Kroah-Hartman <gregkh@google.com>
Tue, 10 Mar 2020 17:31:03 +0000 (18:31 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 1 May 2020 13:18:11 +0000 (15:18 +0200)
commitb80b149ef7dd708b9fa791ce41c768dfbeaa8b53
treefa5cd7fbe0411641e936b529d51049ef8b16dd6d
parent52f916bdb6455e35bb16564051fad9fea780910f
ANDROID: GKI: device.h: add Android ABI padding to some structures

Try to mitigate potential future driver core api changes by padding to
struct bus_type, struct device_driver, struct class, and struct device.

Based on a patch from Michal Marek <mmarek@suse.cz> from the SLES kernel

Bug: 151154716
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I6892cde6481ba775789f0c02239dcfde3a26b56e
include/linux/device.h