Skip to content

Commit 2e178c3

Browse files
committed
drivers: wch: fix the ch32vfun.h path after the recent HAL update
#87125 renamed the `ch32vfun.h` header but missed some of the drivers. Fix. Signed-off-by: Michael Hope <michaelh@juju.nz>
1 parent 64ac57a commit 2e178c3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

drivers/dma/dma_wch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <zephyr/drivers/dma.h>
99
#include <zephyr/drivers/clock_control.h>
1010

11-
#include <ch32fun.h>
11+
#include <hal_ch32fun.h>
1212

1313
#define DMA_WCH_MAX_CHAN 11
1414
#define DMA_WCH_MAX_CHAN_BASE 8

drivers/i2c/i2c_wch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ LOG_MODULE_REGISTER(i2c_wch);
1919

2020
#include "i2c-priv.h"
2121

22-
#include <ch32fun.h>
22+
#include <hal_ch32fun.h>
2323

2424
typedef void (*irq_config_func_t)(const struct device *port);
2525

drivers/pinctrl/pinctrl_wch_00x_afio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <zephyr/drivers/pinctrl.h>
1111
#include <zephyr/dt-bindings/pinctrl/ch32v00x-pinctrl.h>
1212

13-
#include <ch32fun.h>
13+
#include <hal_ch32fun.h>
1414

1515
static GPIO_TypeDef *const wch_afio_pinctrl_regs[] = {
1616
(GPIO_TypeDef *)DT_REG_ADDR(DT_NODELABEL(gpioa)),

drivers/pwm/pwm_wch_gptm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <zephyr/drivers/pwm.h>
1212
#include <zephyr/dt-bindings/pwm/pwm.h>
1313

14-
#include <ch32fun.h>
14+
#include <hal_ch32fun.h>
1515

1616
/* Each of the 4 channels uses 1 byte of CHCTLR{1,2} */
1717
#define CHCTLR_CHANNEL_MASK 0xFF

drivers/watchdog/wdt_iwdg_wch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <zephyr/sys_clock.h>
1212
#include <errno.h>
1313

14-
#include <ch32fun.h>
14+
#include <hal_ch32fun.h>
1515

1616
static int iwdg_wch_setup(const struct device *dev, uint8_t options)
1717
{

0 commit comments

Comments
 (0)