diff options
author | Stephen Warren <swarren@nvidia.com> | 2012-08-20 17:39:10 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-28 20:00:29 +0200 |
commit | db55168265699c72e6ebf7a4228029da590a3eab (patch) | |
tree | cd3d9957c99cb972d94d2e545b4cd2a686c12b57 /arch/sh | |
parent | regulator: max8907: Properly set pmic pointer in max8907_regulator_remove() (diff) | |
download | linux-db55168265699c72e6ebf7a4228029da590a3eab.tar.xz linux-db55168265699c72e6ebf7a4228029da590a3eab.zip |
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 'arch/sh')
0 files changed, 0 insertions, 0 deletions