File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,19 @@ static const struct i2c_device_id cs35l56_id_i2c[] = {
62
62
};
63
63
MODULE_DEVICE_TABLE (i2c , cs35l56_id_i2c );
64
64
65
+ #ifdef CONFIG_ACPI
66
+ static const struct acpi_device_id cs35l56_asoc_acpi_match [] = {
67
+ { "CSC355C" , 0 },
68
+ {},
69
+ };
70
+ MODULE_DEVICE_TABLE (acpi , cs35l56_asoc_acpi_match );
71
+ #endif
72
+
65
73
static struct i2c_driver cs35l56_i2c_driver = {
66
74
.driver = {
67
75
.name = "cs35l56" ,
68
76
.pm = & cs35l56_pm_ops_i2c_spi ,
77
+ .acpi_match_table = ACPI_PTR (cs35l56_asoc_acpi_match ),
69
78
},
70
79
.id_table = cs35l56_id_i2c ,
71
80
.probe = cs35l56_i2c_probe ,
Original file line number Diff line number Diff line change @@ -59,10 +59,19 @@ static const struct spi_device_id cs35l56_id_spi[] = {
59
59
};
60
60
MODULE_DEVICE_TABLE (spi , cs35l56_id_spi );
61
61
62
+ #ifdef CONFIG_ACPI
63
+ static const struct acpi_device_id cs35l56_asoc_acpi_match [] = {
64
+ { "CSC355C" , 0 },
65
+ {},
66
+ };
67
+ MODULE_DEVICE_TABLE (acpi , cs35l56_asoc_acpi_match );
68
+ #endif
69
+
62
70
static struct spi_driver cs35l56_spi_driver = {
63
71
.driver = {
64
72
.name = "cs35l56" ,
65
73
.pm = & cs35l56_pm_ops_i2c_spi ,
74
+ .acpi_match_table = ACPI_PTR (cs35l56_asoc_acpi_match ),
66
75
},
67
76
.id_table = cs35l56_id_spi ,
68
77
.probe = cs35l56_spi_probe ,
You can’t perform that action at this time.
0 commit comments