summaryrefslogtreecommitdiff
path: root/arch/um/drivers/harddog_user.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-04-25 10:38:37 +0200
committerRichard Weinberger <richard@nod.at>2023-05-10 00:21:30 +0200
commit73a23d7710331a530e972903318528b75e5a5f58 (patch)
treee2ee9cc203736354c89a686f83839fbd7f87d011 /arch/um/drivers/harddog_user.c
parentac9a78681b921877518763ba0e89202254349d1b (diff)
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>
Diffstat (limited to 'arch/um/drivers/harddog_user.c')
-rw-r--r--arch/um/drivers/harddog_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/drivers/harddog_user.c b/arch/um/drivers/harddog_user.c
index 070468d22e39..9ed89304975e 100644
--- a/arch/um/drivers/harddog_user.c
+++ b/arch/um/drivers/harddog_user.c
@@ -7,6 +7,7 @@
#include <unistd.h>
#include <errno.h>
#include <os.h>
+#include "harddog.h"
struct dog_data {
int stdin_fd;