From 982b8cc116118b3463d3f332581945625722acd8 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 09 Jan 2024 02:10:54 +0000 Subject: [PATCH] add poweroff command --- kernel/drivers/input/touchscreen/focaltech_touch/focaltech_flash.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_flash.c b/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_flash.c index 43672a7..1ea7fec 100644 --- a/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_flash.c +++ b/kernel/drivers/input/touchscreen/focaltech_touch/focaltech_flash.c @@ -35,6 +35,7 @@ #include "focaltech_core.h" #include "focaltech_flash.h" +#define vfs_read(fp, buf, len, pos) kernel_read(fp, buf, len, pos) /***************************************************************************** * Static variables *****************************************************************************/ -- Gitblit v1.6.2