um: harddog: fix modular build
authorJohannes Berg <johannes.berg@intel.com>
Tue, 25 Apr 2023 08:38:37 +0000 (10:38 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 9 May 2023 22:21:30 +0000 (00:21 +0200)
commit73a23d7710331a530e972903318528b75e5a5f58
treee2ee9cc203736354c89a686f83839fbd7f87d011
parentac9a78681b921877518763ba0e89202254349d1b
um: harddog: fix modular build

Since we no longer (want to) export any libc symbols the
_user portions of any drivers need to be built into image
rather than the module. I missed this for the watchdog.
Fix the watchdog accordingly.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/Makefile
arch/um/drivers/harddog.h [new file with mode: 0644]
arch/um/drivers/harddog_kern.c
arch/um/drivers/harddog_user.c
arch/um/drivers/harddog_user_exp.c [new file with mode: 0644]