Skip to content

Commit a4fe886

Browse files
committed
soc: wch: rename pinctrl struct for the ch32v303
Rename the struct ch32v303_pinctrl_soc_pin to ch32v30x_pinctrl_soc_pin to allow the same struct to be used for other SoC of the series. Signed-off-by: Miguel Gazquez <miguel.gazquez@bootlin.com>
1 parent e198375 commit a4fe886

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

soc/wch/ch32v/qingke_v4f/pinctrl_soc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
/**
1111
* @brief Type to hold a pin's pinctrl configuration.
1212
*/
13-
struct ch32v303_pinctrl_soc_pin {
13+
struct ch32v30x_pinctrl_soc_pin {
1414
uint32_t config: 22;
1515
bool bias_pull_up: 1;
1616
bool bias_pull_down: 1;
@@ -21,7 +21,7 @@ struct ch32v303_pinctrl_soc_pin {
2121
uint8_t slew_rate: 2;
2222
};
2323

24-
typedef struct ch32v303_pinctrl_soc_pin pinctrl_soc_pin_t;
24+
typedef struct ch32v30x_pinctrl_soc_pin pinctrl_soc_pin_t;
2525

2626
#define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \
2727
{ \

0 commit comments

Comments
 (0)