mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:30:53 +07:00
af61f96109
Splitting the resource-managed functions into a separate module
means that the extcon core now fails to build because the internal
"extcon_dev_allocate" symbol is not exported:
ERROR: extcon_dev_allocate [drivers/extcon/devres.ko] undefined!
My guess is that the intention was not to have two separate
modules (which could be fixed by adding an export, plus the
normal MODULE_AUTHOR/MODULE_LICENSE/... fields), but have two
source files in the same module.
This fixes the Makefile accordingly, making the name of the
module extcon_core.ko, which is created from building both
extcon.c and devres.c.
Fixes: b225d00f3a
("extcon: Split out the resource-managed functions from extcon core")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
20 lines
774 B
Makefile
20 lines
774 B
Makefile
|
|
# Makefile for external connector class (extcon) devices
|
|
#
|
|
|
|
obj-$(CONFIG_EXTCON) += extcon-core.o
|
|
extcon-core-objs += extcon.o devres.o
|
|
obj-$(CONFIG_EXTCON_ADC_JACK) += extcon-adc-jack.o
|
|
obj-$(CONFIG_EXTCON_ARIZONA) += extcon-arizona.o
|
|
obj-$(CONFIG_EXTCON_AXP288) += extcon-axp288.o
|
|
obj-$(CONFIG_EXTCON_GPIO) += extcon-gpio.o
|
|
obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o
|
|
obj-$(CONFIG_EXTCON_MAX3355) += extcon-max3355.o
|
|
obj-$(CONFIG_EXTCON_MAX77693) += extcon-max77693.o
|
|
obj-$(CONFIG_EXTCON_MAX77843) += extcon-max77843.o
|
|
obj-$(CONFIG_EXTCON_MAX8997) += extcon-max8997.o
|
|
obj-$(CONFIG_EXTCON_PALMAS) += extcon-palmas.o
|
|
obj-$(CONFIG_EXTCON_RT8973A) += extcon-rt8973a.o
|
|
obj-$(CONFIG_EXTCON_SM5502) += extcon-sm5502.o
|
|
obj-$(CONFIG_EXTCON_USB_GPIO) += extcon-usb-gpio.o
|