Messages in this thread | | | Date | Fri, 17 Nov 2023 19:20:47 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH] hwrng: ingenic: Replace of_device.h with explicit of.h include |
| |
On Wed, Oct 25, 2023 at 11:20:34AM -0500, Rob Herring wrote: > The DT of_device.h and of_platform.h date back to the separate > of_platform_bus_type before it as merged into the regular platform bus. > As part of that merge prepping Arm DT support 13 years ago, they > "temporarily" include each other and pull in various other headers. In > preparation to fix this, adjust the includes for what is actually needed. > > of_device.h isn't needed, but of.h is and was implicitly included by it. > > Signed-off-by: Rob Herring <robh@kernel.org> > --- > drivers/char/hw_random/ingenic-rng.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |