File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -550,6 +550,12 @@ static const struct dev_pm_ops mmc35240_pm_ops = {
550
550
SET_SYSTEM_SLEEP_PM_OPS (mmc35240_suspend , mmc35240_resume )
551
551
};
552
552
553
+ static const struct of_device_id mmc35240_of_match [] = {
554
+ { .compatible = "memsic,mmc35240" , },
555
+ { }
556
+ };
557
+ MODULE_DEVICE_TABLE (of , mmc35240_of_match );
558
+
553
559
static const struct acpi_device_id mmc35240_acpi_match [] = {
554
560
{"MMC35240" , 0 },
555
561
{ },
@@ -565,6 +571,7 @@ MODULE_DEVICE_TABLE(i2c, mmc35240_id);
565
571
static struct i2c_driver mmc35240_driver = {
566
572
.driver = {
567
573
.name = MMC35240_DRV_NAME ,
574
+ .of_match_table = mmc35240_of_match ,
568
575
.pm = & mmc35240_pm_ops ,
569
576
.acpi_match_table = ACPI_PTR (mmc35240_acpi_match ),
570
577
},
You can’t perform that action at this time.
0 commit comments