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

Ethan Nelson-Moore enelsonmoore at gmail.com
Tue May 19 21:03:06 PDT 2026


Hi, Will,

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.

Ethan



More information about the linux-arm-kernel mailing list