Bug 7357

Summary: portdrv_pci.c: undefined reference to `pcie_portdrv_restore_config
Product: Other Reporter: syed azam (syed.azam)
Component: OtherAssignee: other_other
Status: RESOLVED CODE_FIX    
Severity: blocking CC: greg
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.19-rc1 Subsystem:
Regression: --- Bisected commit-id:

Description syed azam 2006-10-12 12:06:32 UTC
Most recent kernel where this bug did not occur:2.6.18
Distribution:
Hardware Environment:
Software Environment:
Problem Description:

Steps to reproduce: try compiling with PCI express config option 
CONFIG_PCIEPORTBUS=Y
Comment 1 syed azam 2006-10-12 12:08:39 UTC
In linux-2.6.19-rc1, PCI express config option CONFIG_PCIEPORTBUS=Y has 
compile errors. 

 

drivers/built-in.o(.text+0x5d5c): In function `pcie_portdrv_slot_reset':

portdrv_pci.c: undefined reference to `pcie_portdrv_restore_config'

make: *** [.tmp_vmlinux1] Error 1

Comment 2 Andrew Morton 2006-10-12 12:50:22 UTC
This was fixed by
gregkh-pci-pci-fix-pcie_portdrv_restore_config-undefined-without-config_pm-error.patch
which is in Greg's tree and will presumably be merged soon.