diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-06-27 15:27:07 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-16 15:33:02 -0700 |
commit | 36ff66db3fb5642906e46e73ca9cf92f1c5974ff (patch) | |
tree | 69c6dfc6275116e073727d11d8f8febb4e71350a /drivers/usb | |
parent | 39c242704cba38bdf67566589facdd6fb2f2d941 (diff) | |
download | op-kernel-dev-36ff66db3fb5642906e46e73ca9cf92f1c5974ff.zip op-kernel-dev-36ff66db3fb5642906e46e73ca9cf92f1c5974ff.tar.gz |
USB: move the definition of USB_MAXCHILDREN
The USB_MAXCHILDREN symbol is used in include/uapi/linux/usb/ch11.h, a
user-mode header, even though it is defined in include/linux/usb.h,
which is kernel-only. This causes compile-time errors when user
programs try to #include linux/usb/ch11.h.
This patch fixes the problem by moving the definition of USB_MAXCHILDREN
into ch11.h. It also gets rid of unneeded parentheses.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions