From 9370bb92b2d16684ee45cf24e879c93c509162da Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Thu, 19 Dec 2024 01:47:39 +0000 Subject: [PATCH] add wifi6 8852be driver --- kernel/drivers/tty/serial/cpm_uart/cpm_uart.h | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/drivers/tty/serial/cpm_uart/cpm_uart.h b/kernel/drivers/tty/serial/cpm_uart/cpm_uart.h index 9f175a9..6113b95 100644 --- a/kernel/drivers/tty/serial/cpm_uart/cpm_uart.h +++ b/kernel/drivers/tty/serial/cpm_uart/cpm_uart.h @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Driver for CPM (SCC/SMC) serial ports * @@ -12,6 +12,8 @@ #include <linux/platform_device.h> #include <linux/fs_uart_pd.h> + +struct gpio_desc; #if defined(CONFIG_CPM2) #include "cpm_uart_cpm2.h" @@ -80,7 +82,7 @@ int wait_closing; /* value to combine with opcode to form cpm command */ u32 command; - int gpios[NUM_GPIOS]; + struct gpio_desc *gpios[NUM_GPIOS]; }; extern int cpm_uart_nr; -- Gitblit v1.6.2