Messages in this thread | | | Subject | regulator: max8907: build error when CONFIG_OF is not set | From | Axel Lin <> | Date | Sat, 18 Aug 2012 14:47:19 +0800 |
| |
Hi Stephen,
I got below build error when CONFIG_OF is not set:
CC [M] drivers/regulator/max8907-regulator.o drivers/regulator/max8907-regulator.c: In function 'max8907_regulator_probe': drivers/regulator/max8907-regulator.c:297:12: error: 'max8907_matches' undeclared (first use in this function) drivers/regulator/max8907-regulator.c:297:12: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [drivers/regulator/max8907-regulator.o] Error 1 make[1]: *** [drivers/regulator] Error 2 make: *** [drivers] Error 2
Regards, Axel
| |