aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2019-05-02 14:19:41 +0000
committerBorislav Petkov <[email protected]>2019-05-10 18:15:11 +0000
commit2b8358a951b1e2a534a54924cd8245e58a1c5fb8 (patch)
treeff5b121c773dcbf856c9e56891c1a30733bb9faa /drivers/pwm/pwm-stm32-lp.c
parentMerge tag 'edac_for_5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp (diff)
downloadkernel-2b8358a951b1e2a534a54924cd8245e58a1c5fb8.tar.gz
kernel-2b8358a951b1e2a534a54924cd8245e58a1c5fb8.zip
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 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions