Skip to content

Commit a3911e0

Browse files
Liao ChenWilliam Breathitt Gray
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: William Breathitt Gray <[email protected]>
1 parent 9852d85 commit a3911e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/counter/ftm-quaddec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ static const struct of_device_id ftm_quaddec_match[] = {
311311
{ .compatible = "fsl,ftm-quaddec" },
312312
{},
313313
};
314+
MODULE_DEVICE_TABLE(of, ftm_quaddec_match);
314315

315316
static struct platform_driver ftm_quaddec_driver = {
316317
.driver = {

0 commit comments

Comments
 (0)