X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FUsb%2FUsbBusDxe%2FUsbDesc.h;h=ae189f761d40ba04524cd70cd8c8f426af7274aa;hp=dd7868bc1d40cd5de12cc7c8eb327ffed808b983;hb=1ccdbf2a3e61fe9494fcd39432107ba0eb74f584;hpb=cd730ec08d8fc5afc557ae7f39c948998cd96bbb diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h index dd7868bc1d..ae189f761d 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbDesc.h @@ -2,7 +2,7 @@ Manage Usb Descriptor List -Copyright (c) 2007, Intel Corporation +Copyright (c) 2007 - 2010, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -16,9 +16,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #ifndef _USB_DESCRIPTOR_H_ #define _USB_DESCRIPTOR_H_ -typedef enum { - USB_MAX_INTERFACE_SETTING = 8 -}USB_INTERFACE_SETTING_MAX; +#define USB_MAX_INTERFACE_SETTING 8 // // The RequestType in EFI_USB_DEVICE_REQUEST is composed of