rtl8723au_bt icon indicating copy to clipboard operation
rtl8723au_bt copied to clipboard

‘struct usb_interface’ has no member named ‘pm_usage_cnt’

Open wjakiela opened this issue 5 years ago • 2 comments

rtk_btusb.c:873:79: error: ‘struct usb_interface’ has no member named ‘pm_usage_cnt’

https://github.com/raspberrypi/linux/commit/83c6688d679c1d95ed79650f4ec6e702548c39ef#diff-d81b85761c12e5ebdcaca4309ff73cfe

wjakiela avatar Nov 29 '19 09:11 wjakiela

in file include/linux/usb.h, search " struct usb_interface { " and add " atomic_t pm_usage_cnt; " before the }

MdHusainhfz avatar Jan 03 '23 15:01 MdHusainhfz

What kernel are you using? I just did a build with kernel 6.1.1, and it built correctly.

lwfinger avatar Jan 03 '23 16:01 lwfinger