summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_qca.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 11:40:57 -0600
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2023-08-11 11:50:24 -0700
commite15f44fb9cb26168a1171a3e8f7f44d11a2727b8 (patch)
tree4bbf0b57bccbbf229aca9dcc09a365f26f4e706d /drivers/bluetooth/hci_qca.c
parent47e90f6b04a4c16faefd3d4a44989b00cf5674c2 (diff)
downloadlinux-e15f44fb9cb26168a1171a3e8f7f44d11a2727b8.tar.gz
linux-e15f44fb9cb26168a1171a3e8f7f44d11a2727b8.tar.bz2
linux-e15f44fb9cb26168a1171a3e8f7f44d11a2727b8.zip
bluetooth: Explicitly include correct DT includes
The DT of_device.h and of_platform.h date back to the separate of_platform_bus_type before it as 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. As a result, there's a pretty much random mix of those include files used throughout the tree. In order to detangle these headers and replace the implicit includes with struct declarations, users need to explicitly include the correct includes. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_qca.c')
-rw-r--r--drivers/bluetooth/hci_qca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/hci_qca.c b/drivers/bluetooth/hci_qca.c
index 87a7325c75b1..9b785c947d96 100644
--- a/drivers/bluetooth/hci_qca.c
+++ b/drivers/bluetooth/hci_qca.c
@@ -25,7 +25,7 @@
#include <linux/gpio/consumer.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
-#include <linux/of_device.h>
+#include <linux/of.h>
#include <linux/acpi.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h>