]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
crypto: stm32 - Add missing header inclusions
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 21 Aug 2020 12:42:10 +0000 (22:42 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 25 Aug 2020 01:24:07 +0000 (11:24 +1000)
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>
drivers/crypto/stm32/stm32-crc32.c
drivers/crypto/stm32/stm32-hash.c

index 3ba41148c2a4687a0d2c6a515ab6eb2e8de8c4f8..5fb706b683097cdbae6380527fc2060cd2028a2d 100644 (file)
@@ -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>
index 03c5e66838057595d1448c3e0981485d7dafe706..092eaabda238f4dcb3c319bc497e47aab5e4ef64 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/clk.h>
 #include <linux/crypto.h>
 #include <linux/delay.h>
+#include <linux/dma-mapping.h>
 #include <linux/dmaengine.h>
 #include <linux/interrupt.h>
 #include <linux/io.h>