diff options
author | Michael Ellerman <[email protected]> | 2019-05-03 00:19:41 +1000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2019-05-10 20:15:11 +0200 |
commit | 2b8358a951b1e2a534a54924cd8245e58a1c5fb8 (patch) | |
tree | ff5b121c773dcbf856c9e56891c1a30733bb9faa /tools/lib | |
parent | 275b103a26e218b3d739e5ab15be6b40303a1428 (diff) |
EDAC/mpc85xx: Prevent building as a module
The mpc85xx EDAC driver can be configured as a module but then fails to
build because it uses two unexported symbols:
ERROR: ".pci_find_hose_for_OF_device" [drivers/edac/mpc85xx_edac_mod.ko] undefined!
ERROR: ".early_find_capability" [drivers/edac/mpc85xx_edac_mod.ko] undefined!
We don't want to export those symbols just for this driver, so make the
driver only configurable as a built-in.
This seems to have been broken since at least
c92132f59806 ("edac/85xx: Add PCIe error interrupt edac support")
(Nov 2013).
[ bp: make it depend on EDAC=y so that the EDAC core doesn't get built
as a module. ]
Signed-off-by: Michael Ellerman <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Johannes Thumshirn <[email protected]>
Cc: James Morse <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: linux-edac <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions