Skip to content

Commit 7959ffb

Browse files
Demon000gregkh
authored andcommitted
nvmem: rcar-efuse: add missing MODULE_DEVICE_TABLE
The nvmem-rcar-efuse driver can be compiled as a module. Add missing MODULE_DEVICE_TABLE so it can be matched by modalias and automatically loaded by udev. Cc: [email protected] Fixes: 1530b92 ("nvmem: Add R-Car E-FUSE driver") Signed-off-by: Cosmin Tanislav <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7557f18 commit 7959ffb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/nvmem/rcar-efuse.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ static const struct of_device_id rcar_fuse_match[] = {
127127
{ .compatible = "renesas,r8a779h0-otp", .data = &rcar_fuse_v4m },
128128
{ /* sentinel */ }
129129
};
130+
MODULE_DEVICE_TABLE(of, rcar_fuse_match);
130131

131132
static struct platform_driver rcar_fuse_driver = {
132133
.probe = rcar_fuse_probe,

0 commit comments

Comments
 (0)