diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2020-02-22 02:38:55 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-02-28 01:43:21 +0100 |
commit | ba02b35239f7ea08ee9959689a66fee8782c1c8c (patch) | |
tree | 55e1ba664d9cf7a95f3cf5efde2fe22f300ec44f /drivers/char | |
parent | crypto: md5 - remove unused macros (diff) | |
download | linux-ba02b35239f7ea08ee9959689a66fee8782c1c8c.tar.xz linux-ba02b35239f7ea08ee9959689a66fee8782c1c8c.zip |
hwrng: omap3-rom - Include linux/io.h for virt_to_phys
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>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/hw_random/omap3-rom-rng.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/hw_random/omap3-rom-rng.c b/drivers/char/hw_random/omap3-rom-rng.c index e08a8887e718..a431c5cbe2be 100644 --- a/drivers/char/hw_random/omap3-rom-rng.c +++ b/drivers/char/hw_random/omap3-rom-rng.c @@ -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> |