aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/esp32_acm.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-12-07 16:26:30 +0000
committerGreg Kroah-Hartman <[email protected]>2023-12-15 13:20:00 +0000
commit2600d9939440d608e1c8128e9e47e7948c024442 (patch)
tree52d3edf3b168af45ab0fb917fd45a5e5a2ba2df0 /drivers/tty/serial/esp32_acm.c
parentdt-bindings: serial: imx: Properly describe the i.MX1 interrupts (diff)
downloadkernel-2600d9939440d608e1c8128e9e47e7948c024442.tar.gz
kernel-2600d9939440d608e1c8128e9e47e7948c024442.zip
serial: esp32_acm: Add explicit platform_device.h include
The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it was merged into the regular platform bus. As part of that merge prepping Arm DT support 13 years ago, they "temporarily" include each other. They also include platform_device.h and of.h. Soon the implicit includes are going to be removed. Signed-off-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/tty/serial/esp32_acm.c')
-rw-r--r--drivers/tty/serial/esp32_acm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/esp32_acm.c b/drivers/tty/serial/esp32_acm.c
index a4cbaedb5170..d4e8bdb1cdef 100644
--- a/drivers/tty/serial/esp32_acm.c
+++ b/drivers/tty/serial/esp32_acm.c
@@ -8,7 +8,7 @@
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_device.h>
+#include <linux/platform_device.h>
#include <linux/serial_core.h>
#include <linux/slab.h>
#include <linux/tty_flip.h>