Blob Blame History Raw
From 39d0bda577bf11b99ace6001f252b22801e413d5 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@suse.com>
Date: Wed, 25 Aug 2021 10:19:29 +0200
Subject: [PATCH] kABI fix of usb_dcd_config_params
Patch-mainline: never, kABI fixup
References: git-fixes

Masking out two additional members added to the end

Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
 include/linux/usb/gadget.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h
index 124462d65..28197de93 100644
--- a/include/linux/usb/gadget.h
+++ b/include/linux/usb/gadget.h
@@ -291,8 +291,10 @@ struct usb_dcd_config_params {
 #define USB_DEFAULT_U1_DEV_EXIT_LAT	0x01	/* Less then 1 microsec */
 	__le16 bU2DevExitLat;	/* U2 Device exit Latency */
 #define USB_DEFAULT_U2_DEV_EXIT_LAT	0x1F4	/* Less then 500 microsec */
+#ifndef __GENKSYMS__
 	__u8 besl_baseline;	/* Recommended baseline BESL (0-15) */
 	__u8 besl_deep;		/* Recommended deep BESL (0-15) */
+#endif
 #define USB_DEFAULT_BESL_UNSPECIFIED	0xFF	/* No recommended value */
 };
 
-- 
2.26.2