From 34e0247ffcae3228684668a6244a7308b78571c7 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Mon, 7 Jul 2014 23:40:47 +0200 Subject: [PATCH] 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-format-patch failed