Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af61f961 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Chanwoo Choi
Browse files

extcon: link devres into core module



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: b225d00f ("extcon: Split out the resource-managed functions from extcon core")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent bc921260
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment