diff options
author | Wealian Liao <whliao@nuvoton.corp-partner.google.com> | 2020-12-25 13:34:15 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-01-15 03:56:16 +0000 |
commit | b33a27c9a667b692ac7cd52922df0b6dba70c64d (patch) | |
tree | 47acca85d61960181d2088bead51594e5acaa3c7 | |
parent | 458ee6e3fef4b582f930a488e012d5bb549288ed (diff) | |
download | chrome-ec-b33a27c9a667b692ac7cd52922df0b6dba70c64d.tar.gz |
driver: replaced all DT_NPCX_ prefix with NPCX_DT_
To catch up the zephyr upstream, replaced all DT_NPCX_ prefix with
NPCX_DT_.
BUG=b:175217186
TEST=build & boot EC on volteet
test keyboard by ksstate on
Cq-Depend: chromium:2603202
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: Ie3db096959e164c5763b120cdb5700f95ac67d73
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2601895
Reviewed-by: Simon Glass <sjg@chromium.org>
Commit-Queue: Simon Glass <sjg@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2630166
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r-- | zephyr/drivers/cros_kb_raw/cros_kb_raw_npcx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zephyr/drivers/cros_kb_raw/cros_kb_raw_npcx.c b/zephyr/drivers/cros_kb_raw/cros_kb_raw_npcx.c index 2512a5a1bf..91e8c849df 100644 --- a/zephyr/drivers/cros_kb_raw/cros_kb_raw_npcx.c +++ b/zephyr/drivers/cros_kb_raw/cros_kb_raw_npcx.c @@ -218,16 +218,16 @@ static const struct cros_kb_raw_driver_api cros_kb_raw_npcx_driver_api = { .enable_interrupt = cros_kb_raw_npcx_enable_interrupt, }; -static const struct npcx_alt cros_kb_raw_alts[] = DT_NPCX_ALT_ITEMS_LIST(0); +static const struct npcx_alt cros_kb_raw_alts[] = NPCX_DT_ALT_ITEMS_LIST(0); static const struct cros_kb_raw_npcx_config cros_kb_raw_cfg = { .base = DT_INST_REG_ADDR(0), .alts_size = ARRAY_SIZE(cros_kb_raw_alts), .alts_list = cros_kb_raw_alts, - .clk_cfg = DT_NPCX_CLK_CFG_ITEM(0), + .clk_cfg = NPCX_DT_CLK_CFG_ITEM(0), .irq = DT_INST_IRQN(0), - .wui_size = DT_NPCX_WUI_ITEMS_LEN(0), - .wui_maps = DT_NPCX_WUI_ITEMS_LIST(0), + .wui_size = NPCX_DT_WUI_ITEMS_LEN(0), + .wui_maps = NPCX_DT_WUI_ITEMS_LIST(0), }; DEVICE_AND_API_INIT(cros_kb_raw_npcx_0, DT_INST_LABEL(0), kb_raw_npcx_init, |