diff options
author | Johan Hovold <johan@kernel.org> | 2020-06-10 17:51:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-06-27 16:12:45 +0200 |
commit | 167cbce27444be3203081b97ea65178c4088b062 (patch) | |
tree | 5842cb87511745af4657271f3445cc02121fc3b0 /include | |
parent | d10ee1d1917b082f0008a840cde5aeaad11b396b (diff) | |
download | linux-stable-167cbce27444be3203081b97ea65178c4088b062.tar.gz linux-stable-167cbce27444be3203081b97ea65178c4088b062.tar.bz2 linux-stable-167cbce27444be3203081b97ea65178c4088b062.zip |
serial: core: drop unnecessary gpio include
Drop the recently added gpio include from the serial-core header in
favour of a forward declaration and instead include the gpio header only
where needed.
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20200610155121.14014-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/serial_core.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 9fd550e7946a..653c653ad0c2 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h @@ -10,7 +10,6 @@ #include <linux/bitops.h> #include <linux/compiler.h> #include <linux/console.h> -#include <linux/gpio/consumer.h> #include <linux/interrupt.h> #include <linux/circ_buf.h> #include <linux/spinlock.h> @@ -30,6 +29,7 @@ struct uart_port; struct serial_struct; struct device; +struct gpio_desc; /* * This structure describes all the operations that can be done on the |