]> www.infradead.org Git - users/jedix/linux-maple.git/commit
leds: turris-omnia: Fix module autoloading with MODULE_DEVICE_TABLE()
authorLiao Chen <liaochen4@huawei.com>
Tue, 27 Aug 2024 12:24:31 +0000 (12:24 +0000)
committerLee Jones <lee@kernel.org>
Fri, 30 Aug 2024 08:05:08 +0000 (09:05 +0100)
commit64c38866500b0bda4363fb994d545557dffb017c
tree383528bfe2f2e3bfaeb852a8ea06a463b90915ef
parent2aad93b6de0d874038d3d7958be05011284cd6b9
leds: turris-omnia: Fix module autoloading with MODULE_DEVICE_TABLE()

Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded
based on the alias from of_device_id table.

Signed-off-by: Liao Chen <liaochen4@huawei.com>
Link: https://lore.kernel.org/r/20240827122431.430818-1-liaochen4@huawei.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-turris-omnia.c