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

From: Ethan Nelson-Moore

Date: Wed May 20 2026 - 00:06:40 EST


Hi, Will,

On Tue, May 19, 2026 at 5:12 AM Will Deacon <will@xxxxxxxxxx> 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