From 1eaa1b3c5a7464c2687ad6ad46a697feb69643b5 Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@suse.com>
Date: Thu, 22 Jun 2023 11:41:21 +0200
Subject: [PATCH] put quirk_disable_autosuspend into a hole
Patch-mainline: Never (kABI fixup)
References: git-fixes
The new flag can go into a preexisting hole
Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
drivers/usb/core/hub.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/usb/core/hub.h b/drivers/usb/core/hub.h
index 657bacfbe..3612d0021 100644
--- a/drivers/usb/core/hub.h
+++ b/drivers/usb/core/hub.h
@@ -69,11 +69,13 @@ struct usb_hub {
unsigned quiescing:1;
unsigned disconnected:1;
unsigned in_reset:1;
- unsigned quirk_disable_autosuspend:1;
unsigned quirk_check_port_auto_suspend:1;
unsigned has_indicators:1;
+#ifndef __GENKSYMS__
+ unsigned quirk_disable_autosuspend:1;
+#endif
u8 indicator[USB_MAXCHILDREN];
struct delayed_work leds;
struct delayed_work init_work;
--
2.41.0