summaryrefslogtreecommitdiff
path: root/board/ryu_p2/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/ryu_p2/board.c')
-rw-r--r--board/ryu_p2/board.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/board/ryu_p2/board.c b/board/ryu_p2/board.c
index 7da2581f55..84874695c4 100644
--- a/board/ryu_p2/board.c
+++ b/board/ryu_p2/board.c
@@ -15,6 +15,7 @@
#include "host_command.h"
#include "i2c.h"
#include "inductive_charging.h"
+#include "lid_switch.h"
#include "power.h"
#include "power_button.h"
#include "registers.h"
@@ -172,9 +173,3 @@ const struct battery_info *battery_get_info(void)
{
return &info;
}
-
-/* Fake lid switch */
-int lid_is_open(void)
-{
- return 1;
-}