mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
counter: ftm-quaddec: Enable module autoloading
Add MODULE_DEVICE_TABLE(), so modules can 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/20240902122014.905237-1-liaochen4@huawei.com Signed-off-by: William Breathitt Gray <wbg@kernel.org>
This commit is contained in:
parent
9852d85ec9
commit
a3911e087d
@ -311,6 +311,7 @@ static const struct of_device_id ftm_quaddec_match[] = {
|
||||
{ .compatible = "fsl,ftm-quaddec" },
|
||||
{},
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, ftm_quaddec_match);
|
||||
|
||||
static struct platform_driver ftm_quaddec_driver = {
|
||||
.driver = {
|
||||
|
Loading…
Reference in New Issue
Block a user