summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/gemini
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-07-14 19:44:18 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-08-23 05:04:23 +0200
commitb0cc7491c98917f191f14efce7630b547f7ec419 (patch)
tree2072e43ca4d8db3dd12f87600660be5e95173d0f /drivers/crypto/gemini
parentcrypto: engine - Remove crypto_engine_ctx (diff)
downloadlinux-b0cc7491c98917f191f14efce7630b547f7ec419.tar.xz
linux-b0cc7491c98917f191f14efce7630b547f7ec419.zip
crypto: drivers - 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: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/gemini')
-rw-r--r--drivers/crypto/gemini/sl3516-ce-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/gemini/sl3516-ce-core.c b/drivers/crypto/gemini/sl3516-ce-core.c
index 0fd47ab9df5c..0f43c6e39bb9 100644
--- a/drivers/crypto/gemini/sl3516-ce-core.c
+++ b/drivers/crypto/gemini/sl3516-ce-core.c
@@ -21,7 +21,6 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of.h>
-#include <linux/of_device.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/reset.h>