From 56394484e3b46d234ec504dc23114b9cf8c67778 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 25 May 2010 16:02:28 +0000 Subject: Fix usbdebug compilation. Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5585 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/include/usb_ch9.h | 19 +++++++++---------- src/include/usbdebug_direct.h | 4 ++-- 2 files changed, 11 insertions(+), 12 deletions(-) (limited to 'src/include') diff --git a/src/include/usb_ch9.h b/src/include/usb_ch9.h index 13aa391cb3..fa682776ba 100644 --- a/src/include/usb_ch9.h +++ b/src/include/usb_ch9.h @@ -61,22 +61,21 @@ #define USB_DEVICE_DEBUG_MODE 6 /* (special devices only) */ -//frim usb_ch9.h struct usb_ctrlrequest { - uint8_t bRequestType; - uint8_t bRequest; - uint16_t wValue; - uint16_t wIndex; - uint16_t wLength; + u8 bRequestType; + u8 bRequest; + u16 wValue; + u16 wIndex; + u16 wLength; } __attribute__ ((packed)); struct usb_debug_descriptor { - uint8_t bLength; - uint8_t bDescriptorType; + u8 bLength; + u8 bDescriptorType; /* bulk endpoints with 8 byte maxpacket */ - uint8_t bDebugInEndpoint; - uint8_t bDebugOutEndpoint; + u8 bDebugInEndpoint; + u8 bDebugOutEndpoint; }; #endif diff --git a/src/include/usbdebug_direct.h b/src/include/usbdebug_direct.h index 98e1aea998..b9d170b1f3 100644 --- a/src/include/usbdebug_direct.h +++ b/src/include/usbdebug_direct.h @@ -15,8 +15,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA */ -#ifndef USBDEBUG_DIRECT_H -#define USBDEBUG_DIRECT_H +#ifndef USBDEBUG_H +#define USBDEBUG_H struct ehci_debug_info { void *ehci_caps; -- cgit v1.2.3