forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/tty/serial/cpm_uart/cpm_uart.h
....@@ -1,4 +1,4 @@
1
-// SPDX-License-Identifier: GPL-2.0
1
+/* SPDX-License-Identifier: GPL-2.0 */
22 /*
33 * Driver for CPM (SCC/SMC) serial ports
44 *
....@@ -12,6 +12,8 @@
1212
1313 #include <linux/platform_device.h>
1414 #include <linux/fs_uart_pd.h>
15
+
16
+struct gpio_desc;
1517
1618 #if defined(CONFIG_CPM2)
1719 #include "cpm_uart_cpm2.h"
....@@ -80,7 +82,7 @@
8082 int wait_closing;
8183 /* value to combine with opcode to form cpm command */
8284 u32 command;
83
- int gpios[NUM_GPIOS];
85
+ struct gpio_desc *gpios[NUM_GPIOS];
8486 };
8587
8688 extern int cpm_uart_nr;