Skip to content

Commit e4081da

Browse files
Sachin KamatLee Jones
authored andcommitted
mfd: max8907: Include linux/of.h header
'of_match_ptr' is defined in linux/of.h. Include it explicitly to avoid breakage in the future. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent fb7d4a5 commit e4081da

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/mfd/max8907.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <linux/mfd/core.h>
1818
#include <linux/mfd/max8907.h>
1919
#include <linux/module.h>
20+
#include <linux/of.h>
2021
#include <linux/of_device.h>
2122
#include <linux/regmap.h>
2223
#include <linux/slab.h>

0 commit comments

Comments
 (0)