From 2d2414a0169deee9e12d75aecd4d5f0a01729c06 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@suse.com>
Date: Thu, 12 Dec 2019 14:50:54 +0100
Subject: [PATCH] typeC: add kABI padding
Patch-mainline: Never, kABI padding
References: jsc#SLE-8133
This adds some additional kABI padding to the type C
data structures
Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
include/linux/usb/typec.h | 2 ++
include/linux/usb/typec_altmode.h | 7 +++++++
2 files changed, 9 insertions(+)
diff --git a/include/linux/usb/typec.h b/include/linux/usb/typec.h
index 7df4ecabc78a..a1af1054c67c 100644
--- a/include/linux/usb/typec.h
+++ b/include/linux/usb/typec.h
@@ -210,6 +210,8 @@ struct typec_capability {
enum typec_role);
int (*port_type_set)(const struct typec_capability *,
enum typec_port_type);
+
+ void *suse_kabi_padding;
};
/* Specific to try_role(). Indicates the user want's to clear the preference. */
diff --git a/include/linux/usb/typec_altmode.h b/include/linux/usb/typec_altmode.h
index 9a88c74a1d0d..6275e8a453ee 100644
--- a/include/linux/usb/typec_altmode.h
+++ b/include/linux/usb/typec_altmode.h
@@ -30,6 +30,8 @@ struct typec_altmode {
char *desc;
const struct typec_altmode_ops *ops;
+
+ void *suse_kabi_padding;
};
#define to_typec_altmode(d) container_of(d, struct typec_altmode, dev)
@@ -63,6 +65,8 @@ struct typec_altmode_ops {
int (*notify)(struct typec_altmode *altmode, unsigned long conf,
void *data);
int (*activate)(struct typec_altmode *altmode, int activate);
+
+ void *suse_kabi_padding;
};
int typec_altmode_enter(struct typec_altmode *altmode);
@@ -141,6 +145,9 @@ struct typec_altmode_driver {
const struct typec_device_id *id_table;
int (*probe)(struct typec_altmode *altmode);
void (*remove)(struct typec_altmode *altmode);
+
+ void *suse_kabi_padding;
+
struct device_driver driver;
};
--
2.16.4