Skip to contentSkip to conversation

regulator: tps6507x: Fix !OF build

PATCH New Mark Brown 1 participant 1 message Feb 5, 2014 Voltage and current regulator framework

lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 regulator: tps6507x: Fix !OF build

From: Mark Brown <[email protected]>

---
 drivers/regulator/tps6507x-regulator.c | 2 --
 1 file changed, 2 deletions(-)
drivers/regulator/tps6507x-regulator.c +0 -2
index 97868b781b29..862cc81f822f 100644
@@ -359,7 +359,6 @@ static struct regulator_ops tps6507x_pmic_ops = {
 	.map_voltage = regulator_map_voltage_ascend,
 };
 
-#ifdef CONFIG_OF
 static struct of_regulator_match tps6507x_matches[] = {
 	{ .name = "VDCDC1"},
 	{ .name = "VDCDC2"},
@@ -367,7 +366,6 @@ static struct of_regulator_match tps6507x_matches[] = {
 	{ .name = "LDO1"},
 	{ .name = "LDO2"},
 };
-#endif
 
 static struct tps6507x_board *tps6507x_parse_dt_reg_data(
 		struct platform_device *pdev,
Signature · 1 line
1.9.rc1