Re: [PATCH] ARM64: remove unnecessary architecture-specific <asm/device.h>
From: Will Deacon
Date: Tue Jun 02 2026 - 07:16:16 EST
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@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.
Great, thanks for the explanation. I'll pick this up.
Will