diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-08-20 09:39:10 -0600 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-28 11:00:29 -0700 |
commit | db55168265699c72e6ebf7a4228029da590a3eab (patch) | |
tree | cd3d9957c99cb972d94d2e545b4cd2a686c12b57 /drivers/regulator/ab8500.c | |
parent | 0764ef59161a4026c44ca184b7812383feabb769 (diff) |
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 <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/ab8500.c')
0 files changed, 0 insertions, 0 deletions