aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2006-11-20 11:12:22 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 17:25:52 -0500
commitce3615879ae85373c03744b45b7c2d7ae5e29b2a (patch)
treeb65e10b1d6a45cbda9d295a1198fb050842f3777 /include/linux
parent1f9fc882d92f3ff390455836f98d7ddc36d4e4c3 (diff)
USB: struct usb_device: change flag to bitflag
This patch (as816) changes an existing flag in the usb_device structure to a bitflag, preparing the way for more bitflags to come in the future. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 864c6c21c21e..5634a2d91ec0 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -362,7 +362,7 @@ struct usb_device {
362 u8 portnum; /* Parent port number (origin 1) */ 362 u8 portnum; /* Parent port number (origin 1) */
363 u8 level; /* Number of USB hub ancestors */ 363 u8 level; /* Number of USB hub ancestors */
364 364
365 int have_langid; /* whether string_langid is valid */ 365 unsigned have_langid:1; /* whether string_langid is valid */
366 int string_langid; /* language ID for strings */ 366 int string_langid; /* language ID for strings */
367 367
368 /* static strings from the device */ 368 /* static strings from the device */