diff options
author | Stephen Warren <[email protected]> | 2012-08-20 09:39:10 -0600 |
---|---|---|
committer | Mark Brown <[email protected]> | 2012-08-28 11:00:29 -0700 |
commit | db55168265699c72e6ebf7a4228029da590a3eab (patch) | |
tree | cd3d9957c99cb972d94d2e545b4cd2a686c12b57 /lib/mpi/mpi-inline.h | |
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions