Bug 6513

Summary: compile error : drivers/pci/hotplug/pciehp_hpc.c:44
Product: Drivers Reporter: Toralf Förster (toralf.foerster)
Component: PCIAssignee: Kristen (kristen.c.accardi)
Status: CLOSED CODE_FIX    
Severity: normal CC: greg
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: linux-2.6.17-rc3-git14 Subsystem:
Regression: --- Bisected commit-id:
Bug Depends on:    
Bug Blocks: 5829    
Attachments: kernel config
make log
This patch should fix the issue

Description Toralf Förster 2006-05-08 03:35:17 UTC
CC      drivers/pci/hotplug/pciehp_core.o
  CC      drivers/pci/hotplug/pciehp_ctrl.o
  CC      drivers/pci/hotplug/pciehp_pci.o
  CC      drivers/pci/hotplug/pciehp_hpc.o
In file included from drivers/pci/hotplug/pciehp_hpc.c:44:
include/linux/pci-acpi.h:54: error: redefinition of typedef 'acpi_status'
include/acpi/actypes.h:350: error: previous declaration of 'acpi_status' was here
In file included from drivers/pci/hotplug/pciehp_hpc.c:44:
include/linux/pci-acpi.h:55:1: warning: "AE_ERROR" redefined
In file included from include/acpi/acpi.h:56,
                 from drivers/pci/hotplug/pciehp_hpc.c:41:
include/acpi/acexcep.h:65:1: warning: this is the location of the previous
definition
make[3]: *** [drivers/pci/hotplug/pciehp_hpc.o] Error 1
make[2]: *** [drivers/pci/hotplug] Error 2
make[1]: *** [drivers/pci] Error 2
make: *** [drivers] Error 2
Comment 1 Toralf Förster 2006-05-08 03:36:08 UTC
Created attachment 8040 [details]
kernel config
Comment 2 Toralf Förster 2006-05-08 03:36:34 UTC
Created attachment 8041 [details]
make log
Comment 3 Kristen 2006-05-08 11:37:08 UTC
Created attachment 8059 [details]
This patch should fix the issue
Comment 4 Toralf Förster 2006-05-19 04:59:07 UTC
correct, tested with linux-2.6.17-rc4-git6