summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/samus/board.h3
-rw-r--r--board/samus/panel.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/board/samus/board.h b/board/samus/board.h
index c69ff0959b..d549d58c67 100644
--- a/board/samus/board.h
+++ b/board/samus/board.h
@@ -68,9 +68,6 @@
#define I2C_PORT_LIGHTBAR 1
#define I2C_PORT_THERMAL 5
-/* Backlight I2C device address */
-#define I2C_ADDR_BACKLIGHT ((0x2C << 1) | I2C_FLAG_BIG_ENDIAN)
-
/* 13x8 keyboard scanner uses an entire GPIO bank for row inputs */
#define KB_SCAN_ROW_IRQ LM4_IRQ_GPIOK
#define KB_SCAN_ROW_GPIO LM4_GPIO_K
diff --git a/board/samus/panel.c b/board/samus/panel.c
index c9c9c3f6cb..dacb0bcf3e 100644
--- a/board/samus/panel.c
+++ b/board/samus/panel.c
@@ -12,6 +12,8 @@
#include "i2c.h"
#include "lid_switch.h"
+#define I2C_ADDR_BACKLIGHT ((0x2C << 1) | I2C_FLAG_BIG_ENDIAN)
+
#define LP8555_REG_COMMAND 0x00
#define LP8555_REG_COMMAND_ON 0x01
#define LP8555_REG_CONFIG 0x10