linux/arch/powerpc/platforms/83xx
Michael Ellerman 5c47c44f15 powerpc/83xx: Fix build error when CONFIG_PCI=n
As reported by lkp:

  arch/powerpc/platforms/83xx/km83xx.c:183:19: error: 'mpc83xx_setup_pci' undeclared here (not in a function)
     183 |  .discover_phbs = mpc83xx_setup_pci,
	 |                   ^~~~~~~~~~~~~~~~~
	 |                   mpc83xx_setup_arch

There is a stub defined for the CONFIG_PCI=n case, but now that
mpc83xx_setup_pci() is being assigned to discover_phbs the correct
empty value is NULL.

Fixes: 83f84041ff ("powerpc/83xx: Move PHB discovery")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210210130804.3190952-1-mpe@ellerman.id.au
2021-02-11 23:28:51 +11:00
..
asp834x.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
Kconfig
km83xx.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
Makefile
mcu_mpc8349emitx.c powerpc: Use simple i2c probe function 2020-09-02 11:00:20 +10:00
misc.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc83xx.h powerpc/83xx: Fix build error when CONFIG_PCI=n 2021-02-11 23:28:51 +11:00
mpc830x_rdb.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc831x_rdb.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc832x_mds.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc832x_rdb.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc834x_itx.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc834x_mds.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc836x_mds.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc836x_rdk.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc837x_mds.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
mpc837x_rdb.c powerpc/83xx: Move PHB discovery 2021-02-09 00:02:06 +11:00
suspend-asm.S powerpc/83xx: Blacklist mpc83xx_deep_resume() for kprobe 2020-06-02 20:59:09 +10:00
suspend.c
usb.c