From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261431AbVFTEzo (ORCPT ); Mon, 20 Jun 2005 00:55:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261444AbVFTEzn (ORCPT ); Mon, 20 Jun 2005 00:55:43 -0400 Received: from omega.webmasters.gr.jp ([218.44.239.78]:12190 "EHLO webmasters.gr.jp") by vger.kernel.org with ESMTP id S261431AbVFTExv (ORCPT ); Mon, 20 Jun 2005 00:53:51 -0400 Date: Mon, 20 Jun 2005 13:53:50 +0900 Message-ID: <81k6kp7hnl.wl@omega.webmasters.gr.jp> From: GOTO Masanori To: torvalds@osdl.org, akpm@osdl.org, linux-kernel@vger.kernel.org Cc: gotom@debian.or.jp Subject: [PATCH] headers 3/4: Include linux/types.h for usb_ch9.h User-Agent: Wanderlust/2.9.9 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 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 /* __u8 etc */ +#include /* __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));