Skip to content

Commit 852b4ed

Browse files
committed
USB: cdc-wdm: properly include types.h
commit 7ac3764 upstream. The file include/uapi/linux/usb/cdc-wdm.h uses a __u16 so it needs to include types.h as well to make the build system happy. Fixes: 3edce1c ("USB: cdc-wdm: implement IOCTL_WDM_MAX_COMMAND") Cc: Bjørn Mork <bjorn@mork.no> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f814958 commit 852b4ed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎include/uapi/linux/usb/cdc-wdm.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#ifndef _UAPI__LINUX_USB_CDC_WDM_H
1010
#define _UAPI__LINUX_USB_CDC_WDM_H
1111

12+
#include <linux/types.h>
13+
1214
/*
1315
* This IOCTL is used to retrieve the wMaxCommand for the device,
1416
* defining the message limit for both reading and writing.

0 commit comments

Comments
 (0)