[PATCH] soc: aspeed: Move MODULE_DEVICE_TABLE next to the table itself

Andrew Jeffery andrew at codeconstruct.com.au
Sun May 17 23:43:31 PDT 2026


On Tue, 05 May 2026 12:26:36 +0200, Krzysztof Kozlowski wrote:
> By convention MODULE_DEVICE_TABLE() immediately follows the ID table it
> exports, because this is easier to read and verify.  It also makes more
> sense since #ifdef for ACPI or OF could hide both of them.
> 
> Most of the privers already have this correctly placed, so adjust
> the missing ones.  No functional impact.
> 
> [...]

Thanks, I've applied this to the BMC tree.

-- 
Andrew Jeffery <andrew at codeconstruct.com.au>




More information about the linux-arm-kernel mailing list