lkml.org 
[lkml]   [2023]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] hwrng: Explicitly include correct DT includes
On Fri, Jul 28, 2023 at 07:48:27AM -0600, Rob Herring wrote:
> The DT of_device.h and of_platform.h date back to the separate
> of_platform_bus_type before it was merged into the regular platform bus.
> As part of that merge prepping Arm DT support 13 years ago, they
> "temporarily" include each other. They also include platform_device.h
> and of.h. As a result, there's a pretty much random mix of those include
> files used throughout the tree. In order to detangle these headers and
> replace the implicit includes with struct declarations, users need to
> explicitly include the correct includes.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> ---
> v3:
> - Split out hw_random, ipmi and tpm
> v2:
> - Fix build for pic32-rng.c dropping of_match_ptr()
> ---
> drivers/char/hw_random/atmel-rng.c | 2 +-
> drivers/char/hw_random/bcm2835-rng.c | 3 +--
> drivers/char/hw_random/ingenic-trng.c | 2 +-
> drivers/char/hw_random/iproc-rng200.c | 3 +--
> drivers/char/hw_random/npcm-rng.c | 3 +--
> drivers/char/hw_random/omap-rng.c | 2 --
> drivers/char/hw_random/omap3-rom-rng.c | 1 -
> drivers/char/hw_random/pasemi-rng.c | 3 +--
> drivers/char/hw_random/pic32-rng.c | 5 ++---
> drivers/char/hw_random/stm32-rng.c | 3 ++-
> drivers/char/hw_random/xgene-rng.c | 5 ++---
> drivers/char/hw_random/xiphera-trng.c | 1 -
> 12 files changed, 12 insertions(+), 21 deletions(-)

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

\
 
 \ /
  Last update: 2023-08-04 11:37    [W:0.028 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site