Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

‘struct usb_interface’ has no member named ‘pm_usage_cnt’ #71

Open
wjakiela opened this issue Nov 29, 2019 · 2 comments
Open

‘struct usb_interface’ has no member named ‘pm_usage_cnt’ #71

wjakiela opened this issue Nov 29, 2019 · 2 comments

Comments

@wjakiela
Copy link

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

raspberrypi/linux@83c6688#diff-d81b85761c12e5ebdcaca4309ff73cfe

@MdHusainhfz
Copy link

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

@lwfinger
Copy link
Owner

lwfinger commented Jan 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants