Skip to content

usb: device_next: fix compilation if the user disables HWINFO #93291

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jfischer-no
Copy link
Contributor

Make USBD_HWINFO_DEVID_LENGTH prompt optional so that the code compiles even if HWINFO is disabled.

Fixes: #93266

Make USBD_HWINFO_DEVID_LENGTH prompt optional so that the code compiles
even if HWINFO is disabled.

Signed-off-by: Johann Fischer <[email protected]>
@jfischer-no jfischer-no added bug The issue is a bug, or the PR is fixing a bug area: USB Universal Serial Bus Experimental Experimental features not enabled by default labels Jul 17, 2025
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus bug The issue is a bug, or the PR is fixing a bug Experimental Experimental features not enabled by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

device_next/usbd_ch9.c depends on CONFIG_HWINFO=y, but CONFIG_HWINFO is only implied by CONFIG_USB_DEVICE_STACK_NEXT
1 participant