mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 11:58:21 +07:00
7ac3764fca
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: 3edce1cf81
("USB: cdc-wdm: implement IOCTL_WDM_MAX_COMMAND")
Cc: stable <stable@vger.kernel.org> # 3.10+
Cc: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24 lines
691 B
C
24 lines
691 B
C
/*
|
|
* USB CDC Device Management userspace API definitions
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* version 2 as published by the Free Software Foundation.
|
|
*/
|
|
|
|
#ifndef _UAPI__LINUX_USB_CDC_WDM_H
|
|
#define _UAPI__LINUX_USB_CDC_WDM_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
/*
|
|
* This IOCTL is used to retrieve the wMaxCommand for the device,
|
|
* defining the message limit for both reading and writing.
|
|
*
|
|
* For CDC WDM functions this will be the wMaxCommand field of the
|
|
* Device Management Functional Descriptor.
|
|
*/
|
|
#define IOCTL_WDM_MAX_COMMAND _IOR('H', 0xA0, __u16)
|
|
|
|
#endif /* _UAPI__LINUX_USB_CDC_WDM_H */
|