linux/debian/patches/debian/usb-avoid-abi-change-in-3.1...

22 lines
721 B
Diff

From: Ben Hutchings <ben@decadent.org.uk>
Date: Mon, 06 Apr 2015 17:51:50 +0100
Subject: USB: Avoid ABI change in 3.16.7-ckt8
Forwarded: not-needed
Hide the added bitfield usb_hcd::cant_recv_wakeups from genksyms.
---
--- a/include/linux/usb/hcd.h
+++ b/include/linux/usb/hcd.h
@@ -144,8 +144,11 @@ struct usb_hcd {
unsigned has_tt:1; /* Integrated TT in root hub */
unsigned amd_resume_bug:1; /* AMD remote wakeup quirk */
unsigned can_do_streams:1; /* HC supports streams */
+#ifndef __GENKSYMS__
unsigned cant_recv_wakeups:1;
/* wakeup requests from downstream aren't received */
+ /* 21 bits spare */
+#endif
unsigned int irq; /* irq allocated */
void __iomem *regs; /* device memory/io */