From: Beniamino Galvani Date: Mon, 7 Jul 2014 21:40:47 +0000 (+0200) Subject: regulator: act8865: fix build when OF is not enabled X-Git-Tag: cleanup-for-v3.18~115^2~5^4~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34e0247ffcae3228684668a6244a7308b78571c7;p=pandora-kernel.git regulator: act8865: fix build when OF is not enabled act8846_matches and act8865_matches are defined only when OF is enabled. Move references to them to the act8865_pdata_from_dt() function to avoid a build error when OF is disabled. Reported-by: kbuild test robot Signed-off-by: Beniamino Galvani Signed-off-by: Mark Brown --- Reading git-diff-tree failed