From: GOTO Masanori <gotom@debian.or.jp>
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
Date: Mon, 20 Jun 2005 13:53:50 +0900 [thread overview]
Message-ID: <81k6kp7hnl.wl@omega.webmasters.gr.jp> (raw)
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 <gotom@debian.or.jp>
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));
reply other threads:[~2005-06-20 4:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81k6kp7hnl.wl@omega.webmasters.gr.jp \
--to=gotom@debian.or.jp \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®