Blob Blame History Raw
From 50197c9e56fdbbb831bd35f577f1409a8cd35ccd Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@suse.com>
Date: Tue, 18 Jan 2022 15:27:46 +0100
Subject: [PATCH] typeC: Add kABI placeholders

References: bsc#1183030
Patch-mainline: never, kABI

Adding it to the most important structures

Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
 drivers/usb/typec/bus.h   | 2 ++
 drivers/usb/typec/class.h | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/drivers/usb/typec/bus.h b/drivers/usb/typec/bus.h
index 56dec268d..4a43700da 100644
--- a/drivers/usb/typec/bus.h
+++ b/drivers/usb/typec/bus.h
@@ -22,6 +22,8 @@ struct altmode {
 
 	struct altmode			*partner;
 	struct altmode			*plug[2];
+
+	void *				suse_kabi_padding;
 };
 
 #define to_altmode(d) container_of(d, struct altmode, adev)
diff --git a/drivers/usb/typec/class.h b/drivers/usb/typec/class.h
index aef03eb7e..7c0a44cbd 100644
--- a/drivers/usb/typec/class.h
+++ b/drivers/usb/typec/class.h
@@ -33,6 +33,8 @@ struct typec_partner {
 	int				num_altmodes;
 	u16				pd_revision; /* 0300H = "3.0" */
 	enum usb_pd_svdm_ver		svdm_version;
+
+	void				*suse_kabi_padding;
 };
 
 struct typec_port {
@@ -59,6 +61,8 @@ struct typec_port {
 	struct mutex			port_list_lock; /* Port list lock */
 
 	void				*pld;
+
+	void				*suse_kabi_padding;
 };
 
 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev)
-- 
2.26.2