| .. | .. |
|---|
| 1 | | -// SPDX-License-Identifier: GPL-2.0 |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * Driver for CPM (SCC/SMC) serial ports |
|---|
| 4 | 4 | * |
|---|
| .. | .. |
|---|
| 12 | 12 | |
|---|
| 13 | 13 | #include <linux/platform_device.h> |
|---|
| 14 | 14 | #include <linux/fs_uart_pd.h> |
|---|
| 15 | + |
|---|
| 16 | +struct gpio_desc; |
|---|
| 15 | 17 | |
|---|
| 16 | 18 | #if defined(CONFIG_CPM2) |
|---|
| 17 | 19 | #include "cpm_uart_cpm2.h" |
|---|
| .. | .. |
|---|
| 80 | 82 | int wait_closing; |
|---|
| 81 | 83 | /* value to combine with opcode to form cpm command */ |
|---|
| 82 | 84 | u32 command; |
|---|
| 83 | | - int gpios[NUM_GPIOS]; |
|---|
| 85 | + struct gpio_desc *gpios[NUM_GPIOS]; |
|---|
| 84 | 86 | }; |
|---|
| 85 | 87 | |
|---|
| 86 | 88 | extern int cpm_uart_nr; |
|---|