
On Wed, Sep 25, 2019 at 10:58 PM Simon Glass sjg@chromium.org wrote:
This parameter is needed by the PCI driver-mode interface but is always NULL on x86. There are a number of calls to this function so it makes sense to minimise the parameters.
Adjust the x86 function to omit the first parameter, and introduce stub functions to handle the conversion.
Signed-off-by: Simon Glass sjg@chromium.org
arch/x86/cpu/broadwell/cpu.c | 7 ++----- arch/x86/cpu/intel_common/fast_spi.c | 3 +-- arch/x86/cpu/ivybridge/cpu.c | 3 +-- arch/x86/cpu/pci.c | 20 ++++++++------------ arch/x86/include/asm/pci.h | 15 ++++++--------- drivers/pci/pci_x86.c | 16 ++++++++++++++-- 6 files changed, 32 insertions(+), 32 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com