Signed-off-by: Stanislav Fomichev <kernel@fomichev.me>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
/* Classes and subclasses */
-/* Header types */
-typedef enum {
- PCI_HEADER_NORMAL
-} pci_header_types;
-
/* Overlay for a PCI-to-PCI bridge */
#define PPB_RSVDA_MAX 2
/* check for Header type 0 */
pci_read_config_byte(dev, PCI_HEADER_TYPE, &byte_val);
- if ((byte_val & 0x7f) != PCI_HEADER_NORMAL)
+ if ((byte_val & 0x7f) != PCI_HEADER_TYPE_NORMAL)
goto end;
/* check if the capability pointer field exists */