ANDROID: GKI: Add Android ABI padding to wwan_ops
Try to mitigate potential future api changes by adding a
padding to struct wwan_ops.
Fixes: 214e6f268b ("ANDROID: GKI: Add WWAN as GKI protected module")
Bug: 287170531
Test: bazel run //common:kernel_aarch64_dist & TH
Change-Id: I0a6f8a801503228af11dc227ce703b886a74f288
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
This commit is contained in:
parent
13e8071ce0
commit
7ed895f6b7
1 changed files with 4 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
#include <linux/poll.h>
|
||||
#include <linux/netdevice.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/android_kabi.h>
|
||||
|
||||
/**
|
||||
* enum wwan_port_type - WWAN port types
|
||||
|
|
@ -165,6 +166,9 @@ struct wwan_ops {
|
|||
u32 if_id, struct netlink_ext_ack *extack);
|
||||
void (*dellink)(void *ctxt, struct net_device *dev,
|
||||
struct list_head *head);
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
};
|
||||
|
||||
int wwan_register_ops(struct device *parent, const struct wwan_ops *ops,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue