From: Stephen Warren Date: Mon, 20 Aug 2012 15:39:10 +0000 (-0600) Subject: regulator: max8907: fix compile error when !CONFIG_OF X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~106^2^5~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db55168265699c72e6ebf7a4228029da590a3eab;p=pandora-kernel.git regulator: max8907: fix compile error when !CONFIG_OF Fix the following: 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) by removing direct references to max8907_matches[], which only exists when CONFIG_OF is defined. Signed-off-by: Stephen Warren Signed-off-by: Mark Brown --- Reading git-diff-tree failed