leds: turris-omnia: fix module autoloading
Subsystems (2)
PATCH 1/1 leds: turris-omnia: fix module autoloading
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table.
Signed-off-by Liao Chen <[email protected]>
--- drivers/leds/leds-turris-omnia.c | 1 + 1 file changed, 1 insertion(+)
drivers/leds/leds-turris-omnia.c +1 -0
@@ -532,6 +532,7 @@ static const struct of_device_id of_omnia_leds_match[] = { { .compatible = "cznic,turris-omnia-leds", }, {}, }; +MODULE_DEVICE_TABLE (of, of_omnia_leds_match);static const struct i2c_device_id omnia_id[] = { {"omnia" },
Signature · 1 line
2.34.1
Re: (subset) [PATCH -next] leds: turris-omnia: fix module autoloading
Quoted 4 lines · Liao Chen
Add
MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias fromof_device_idtable.
Applied, thanks!
[1/1] leds: turris-omnia: fix module autoloading
commit: 64c38866500b0bda4363fb994d545557dffb017c
--
Lee Jones [李琼斯]