summaryrefslogtreecommitdiff
path: root/drivers/char/tpm/tpm_ftpm_tee.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-28 16:48:02 +0300
committerRob Herring <robh@kernel.org>2023-08-28 21:36:24 +0300
commitae36453a4bc446b2cda9857d109feec26c1bdfc4 (patch)
treef49a8b4048986634ed7bf8077ddbdb5acba60398 /drivers/char/tpm/tpm_ftpm_tee.c
parent077ca0408c5e8f4409693a97b1f8dd3672ce32fd (diff)
downloadlinux-ae36453a4bc446b2cda9857d109feec26c1bdfc4.tar.xz
tpm: 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 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. 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. Acked-by: Jarkko Sakkinen <jarkko@kernel.org> Link: https://lore.kernel.org/r/20230728134803.3223742-1-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/char/tpm/tpm_ftpm_tee.c')
-rw-r--r--drivers/char/tpm/tpm_ftpm_tee.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/char/tpm/tpm_ftpm_tee.c b/drivers/char/tpm/tpm_ftpm_tee.c
index 528f35b14fb6..76adb108076c 100644
--- a/drivers/char/tpm/tpm_ftpm_tee.c
+++ b/drivers/char/tpm/tpm_ftpm_tee.c
@@ -11,7 +11,6 @@
#include <linux/acpi.h>
#include <linux/of.h>
-#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/tee_drv.h>
#include <linux/tpm.h>