]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
soc: aspeed: Move MODULE_DEVICE_TABLE next to the table itself
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Tue, 5 May 2026 10:26:36 +0000 (12:26 +0200)
committerAndrew Jeffery <andrew@codeconstruct.com.au>
Mon, 18 May 2026 06:40:17 +0000 (16:10 +0930)
commit577bc2354726fe96969a10821bcdc61a6c0aeeb8
treedbdaa5628ba0913eb2ec1a68b002c8f6da04150b
parent254f49634ee16a731174d2ae34bc50bd5f45e731
soc: aspeed: Move MODULE_DEVICE_TABLE next to the table itself

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.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
drivers/soc/aspeed/aspeed-lpc-ctrl.c
drivers/soc/aspeed/aspeed-lpc-snoop.c
drivers/soc/aspeed/aspeed-p2a-ctrl.c