diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 16:32:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-11 11:54:12 -0700 |
commit | 852b4ede30ea6712d2e26d602ef02ee3f07ede47 (patch) | |
tree | e6d81d555ee0140b9ed6ad0fdb55bebd5c8d014b /include/uapi | |
parent | f814958eaf5742610e4476aafc6b84ffe8a4be5d (diff) | |
download | linux-stable-852b4ede30ea6712d2e26d602ef02ee3f07ede47.tar.gz linux-stable-852b4ede30ea6712d2e26d602ef02ee3f07ede47.tar.bz2 linux-stable-852b4ede30ea6712d2e26d602ef02ee3f07ede47.zip |
USB: cdc-wdm: properly include types.h
commit 7ac3764fcafc06e72e1a79a9d998b9fdd900b2a6 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: 3edce1cf813a ("USB: cdc-wdm: implement IOCTL_WDM_MAX_COMMAND")
Cc: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/usb/cdc-wdm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/usb/cdc-wdm.h b/include/uapi/linux/usb/cdc-wdm.h index f03134feebd6..0dc132e75030 100644 --- a/include/uapi/linux/usb/cdc-wdm.h +++ b/include/uapi/linux/usb/cdc-wdm.h @@ -9,6 +9,8 @@ #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. |