linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] crypto: stm32/crc32 - include <linux/io.h>
@ 2020-08-24 13:58 Fabio Estevam
  2020-08-24 13:58 ` [PATCH 2/2] crypto: stm32/hash - include <linux/dma-mapping.h> Fabio Estevam
  2020-08-25  0:43 ` [PATCH 1/2] crypto: stm32/crc32 - include <linux/io.h> Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2020-08-24 13:58 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto, linux-stm32, mcoquelin.stm32, Fabio Estevam

Building ARM allmodconfig leads to the following warnings:

drivers/crypto/stm32/stm32-crc32.c:128:2: error: implicit declaration of function 'writel_relaxed' [-Werror=implicit-function-declaration]
drivers/crypto/stm32/stm32-crc32.c:134:17: error: implicit declaration of function 'readl_relaxed' [-Werror=implicit-function-declaration]
drivers/crypto/stm32/stm32-crc32.c:176:4: error: implicit declaration of function 'writeb_relaxed' [-Werror=implicit-function-declaration]

Include <linux/io.h> to fix such warnings.

Reported-by: Olof's autobuilder <build@lixom.net>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 drivers/crypto/stm32/stm32-crc32.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/crypto/stm32/stm32-crc32.c b/drivers/crypto/stm32/stm32-crc32.c
index 3ba41148c2a4..2994549beba3 100644
--- a/drivers/crypto/stm32/stm32-crc32.c
+++ b/drivers/crypto/stm32/stm32-crc32.c
@@ -7,6 +7,7 @@
 #include <linux/bitrev.h>
 #include <linux/clk.h>
 #include <linux/crc32poly.h>
+#include <linux/io.h>
 #include <linux/module.h>
 #include <linux/mod_devicetable.h>
 #include <linux/platform_device.h>
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-25  0:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24 13:58 [PATCH 1/2] crypto: stm32/crc32 - include <linux/io.h> Fabio Estevam
2020-08-24 13:58 ` [PATCH 2/2] crypto: stm32/hash - include <linux/dma-mapping.h> Fabio Estevam
2020-08-25  0:43 ` [PATCH 1/2] crypto: stm32/crc32 - include <linux/io.h> Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).