[PATCH] ARM64: remove unnecessary architecture-specific <asm/device.h>

Will Deacon will at kernel.org
Tue Jun 2 04:10:50 PDT 2026


On Tue, May 19, 2026 at 09:03:06PM -0700, Ethan Nelson-Moore wrote:
> On Tue, May 19, 2026 at 5:12 AM Will Deacon <will at kernel.org> wrote:
> > Do we need to add a generic-y entry to arch/arm64/include/asm/Kbuild
> > so that we pick up the asm-generic variant?
> 
> No, we don't, because device.h is in the list of mandatory headers in
> include/asm-generic/Kbuild, which means a header including the generic
> version will automatically be generated if an architecture-specific
> version does not exist.

Great, thanks for the explanation. I'll pick this up.

Will



More information about the linux-arm-kernel mailing list