]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
extcon: Add stubs for extcon_register_notifier_all() functions
authorKrzysztof Kozlowski <krzk@kernel.org>
Thu, 31 Dec 2020 08:52:52 +0000 (09:52 +0100)
committerSeth Forshee <seth.forshee@canonical.com>
Thu, 8 Apr 2021 20:42:52 +0000 (15:42 -0500)
commit26ab3f79e38e5ef33b3fc63ef78290c4dd13e65a
tree584ff53f84cab62d2d9c0743c3c3c976050ac287
parent342fc1dcfb0806c5da34c0181d0bdf1b1c940927
extcon: Add stubs for extcon_register_notifier_all() functions

BugLink: https://bugs.launchpad.net/bugs/1923069
[ Upstream commit c9570d4a5efd04479b3cd09c39b571eb031d94f4 ]

Add stubs for extcon_register_notifier_all() function for !CONFIG_EXTCON
case.  This is useful for compile testing and for drivers which use
EXTCON but do not require it (therefore do not depend on CONFIG_EXTCON).

Fixes: 815429b39d94 ("extcon: Add new extcon_register_notifier_all() to monitor all external connectors")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
include/linux/extcon.h