[PATCH] headers 3/4: Include linux/types.h for usb_ch9.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch for 2.6.12 usb_ch9.h includes linux/types.h instead of
asm/types.h so that __le16 and so on is explicitly defined.  It also
cleans up non standard // comment.

Signed-off-by: GOTO Masanori <[email protected]>

Regards,
-- gotom


 usb_ch9.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

--- linux-2.6.12/include/linux/usb_ch9.h	2005-06-18 04:48:29.000000000 +0900
+++ linux-2.6.12.gotom/include/linux/usb_ch9.h	2005-06-20 13:12:26.872815138 +0900
@@ -16,7 +16,7 @@
 #ifndef __LINUX_USB_CH9_H
 #define __LINUX_USB_CH9_H
 
-#include <asm/types.h>		/* __u8 etc */
+#include <linux/types.h>	/* __u8 etc */
 
 /*-------------------------------------------------------------------------*/
 
@@ -268,8 +268,8 @@ struct usb_endpoint_descriptor {
 	__le16 wMaxPacketSize;
 	__u8  bInterval;
 
-	// NOTE:  these two are _only_ in audio endpoints.
-	// use USB_DT_ENDPOINT*_SIZE in bLength, not sizeof.
+	/* NOTE:  these two are _only_ in audio endpoints. */
+	/* use USB_DT_ENDPOINT*_SIZE in bLength, not sizeof. */
 	__u8  bRefresh;
 	__u8  bSynchAddress;
 } __attribute__ ((packed));
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux