hwrng: xgene: Add explicit io.h include
Subsystems (2)
PATCH 1/1 hwrng: xgene: Add explicit io.h include
Commit 0788257aeebe ("hwrng: Explicitly include correct DT includes") removed an implicit include of io.h. On most architectures, there's still an implicit include of it, but not on s390. Enabling COMPILE_TEST in commit 1ce1cd8208ad ("hwrng: Enable COMPILE_TEST for more drivers") exposed this.
Fixes 0788257aeebe ("hwrng: Explicitly include correct DT includes")
Reported-by kernel test robot <[email protected]>
Signed-off-by Rob Herring <[email protected]>
--- drivers/char/hw_random/xgene-rng.c | 1 + 1 file changed, 1 insertion(+)
drivers/char/hw_random/xgene-rng.c +1 -0
@@ -14,6 +14,7 @@#include <linux/hw_random.h> #include <linux/init.h> #include <linux/interrupt.h> +#include <linux/io.h> #include <linux/module.h> #include <linux/mod_devicetable.h> #include <linux/platform_device.h>
Signature · 1 line
2.40.1
Herbert Xu
maintainerQuoted 6 lines · Rob Herring
Commit
0788257aeebe("hwrng: Explicitly include correct DT includes") removed an implicit include ofio.h. On most architectures, there's still an implicit include of it, but not on s390. EnablingCOMPILE_TESTin commit1ce1cd8208ad("hwrng: EnableCOMPILE_TESTfor more drivers") exposed this.
Quoted 7 lines
Fixes 0788257aeebe ("hwrng: Explicitly include correct DT includes")Reported-by kernel test robot <[email protected]>Signed-off-by Rob Herring <[email protected]>--- drivers/char/hw_random/xgene-rng.c | 1 + 1 file changed, 1 insertion(+)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt