diff options
-rw-r--r-- | drivers/mfd/sec-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c index fb8ba6438268..dba7e2b6f8e9 100644 --- a/drivers/mfd/sec-core.c +++ b/drivers/mfd/sec-core.c | |||
@@ -273,6 +273,7 @@ static inline unsigned long sec_i2c_get_driver_data(struct i2c_client *i2c, | |||
273 | #ifdef CONFIG_OF | 273 | #ifdef CONFIG_OF |
274 | if (i2c->dev.of_node) { | 274 | if (i2c->dev.of_node) { |
275 | const struct of_device_id *match; | 275 | const struct of_device_id *match; |
276 | |||
276 | match = of_match_node(sec_dt_match, i2c->dev.of_node); | 277 | match = of_match_node(sec_dt_match, i2c->dev.of_node); |
277 | return (unsigned long)match->data; | 278 | return (unsigned long)match->data; |
278 | } | 279 | } |