summaryrefslogtreecommitdiff
path: root/board/lazor
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-03-19 16:42:45 -0600
committerCommit Bot <commit-bot@chromium.org>2021-03-20 03:25:53 +0000
commit2104092b713e81cae64d688290eca449924d292f (patch)
tree42a8699899bb6272ab68e8689d0ae88b7a0d0f4e /board/lazor
parent1814e9171c07bb719140b69e3c18577a128d932a (diff)
downloadchrome-ec-2104092b713e81cae64d688290eca449924d292f.tar.gz
driver: ln9310: move ln9310.h header to include/
Move driver/ln9310.h to include/driver/ln9310.h so this header can be readily included from Zephyr builds. BUG=b:183054226 BRANCH=none TEST=buildall Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I47c1d8dc8af90c690639ef1621cc66a9946ba40b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2776220 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'board/lazor')
-rw-r--r--board/lazor/board.c2
-rw-r--r--board/lazor/switchcap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/board/lazor/board.c b/board/lazor/board.c
index 9e72e39cd9..dbd402b0c8 100644
--- a/board/lazor/board.c
+++ b/board/lazor/board.c
@@ -17,6 +17,7 @@
#include "driver/accelgyro_icm426xx.h"
#include "driver/accel_kionix.h"
#include "driver/accel_kx022.h"
+#include "driver/ln9310.h"
#include "driver/ppc/sn5s330.h"
#include "driver/tcpm/ps8xxx.h"
#include "driver/tcpm/tcpci.h"
@@ -24,7 +25,6 @@
#include "hooks.h"
#include "keyboard_scan.h"
#include "lid_switch.h"
-#include "ln9310.h"
#include "pi3usb9201.h"
#include "power.h"
#include "power/sc7180.h"
diff --git a/board/lazor/switchcap.c b/board/lazor/switchcap.c
index d00e973961..3d5255791c 100644
--- a/board/lazor/switchcap.c
+++ b/board/lazor/switchcap.c
@@ -6,10 +6,10 @@
#include "common.h"
#include "config.h"
#include "console.h"
+#include "driver/ln9310.h"
#include "gpio.h"
#include "hooks.h"
#include "i2c.h"
-#include "ln9310.h"
#include "power/sc7180.h"
#include "system.h"