RE: [PATCH] regulator: da9052: Include linux/of.h to fix build warning for of_match_ptr

2019-03-18 Thread Steve Twiss
Hi Axel, On 16 March 2019 01:51, Axel Lin wrote: > To: Mark Brown > Subject: [PATCH] regulator: da9052: Include linux/of.h to fix build warning > for > of_match_ptr > > Remove #ifdef CONFIG_OF guard so linux/of.h will be included when > !CONFIG_OF. This fixes build war

[PATCH] regulator: da9052: Include linux/of.h to fix build warning for of_match_ptr

2019-03-15 Thread Axel Lin
Remove #ifdef CONFIG_OF guard so linux/of.h will be included when !CONFIG_OF. This fixes build warnings when !CONFIG_OF. Reported-by: kbuild test robot Signed-off-by: Axel Lin --- drivers/regulator/da9052-regulator.c | 2 -- 1 file changed, 2 deletions(-) diff --git