hwrng: omap3-rom - Include linux/io.h for virt_to_phys
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 22 Feb 2020 01:38:55 +0000 (12:38 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Feb 2020 00:43:21 +0000 (08:43 +0800)
This patch adds linux/io.h to the header list to ensure that we
get virt_to_phys on all architectures.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/omap3-rom-rng.c

index e08a888..a431c5c 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/workqueue.h>
 #include <linux/clk.h>
 #include <linux/err.h>
+#include <linux/io.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
 #include <linux/platform_device.h>