aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/stm32/stm32-crc32.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2020-08-21 22:42:10 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2020-08-25 11:24:07 +1000
commit3033fd177bcc3e0762b43cb82cf584dbb07064f1 (patch)
tree4cdc892107550c8346a804a1475feccc1847d9e2 /drivers/crypto/stm32/stm32-crc32.c
parentcrypto: hisilicon/qm - fix the process of register algorithms to crypto (diff)
downloadlinux-dev-3033fd177bcc3e0762b43cb82cf584dbb07064f1.tar.xz
linux-dev-3033fd177bcc3e0762b43cb82cf584dbb07064f1.zip
crypto: stm32 - Add missing header inclusions
The stm32 driver was missing a number of includes that we being pulled in by unrelated header files. As the indirect inclusion went away, it now fails to build. This patch adds the missing inclusions. Reported-by: kernel test robot <lkp@intel.com> Fixes: 0c3dc787a62a ("crypto: algapi - Remove skbuff.h inclusion") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/stm32/stm32-crc32.c')
-rw-r--r--drivers/crypto/stm32/stm32-crc32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/stm32/stm32-crc32.c b/drivers/crypto/stm32/stm32-crc32.c
index 3ba41148c2a4..5fb706b68309 100644
--- a/drivers/crypto/stm32/stm32-crc32.c
+++ b/drivers/crypto/stm32/stm32-crc32.c
@@ -7,6 +7,8 @@
#include <linux/bitrev.h>
#include <linux/clk.h>
#include <linux/crc32poly.h>
+#include <linux/io.h>
+#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/platform_device.h>