mfd: Guard max77686_pmic_dt_match with CONFIG_OF
authorAxel Lin <axel.lin@gmail.com>
Mon, 9 Jul 2012 14:29:00 +0000 (22:29 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 10 Jul 2012 09:00:37 +0000 (11:00 +0200)
commit2984fc0093268cfffd39725a70078396c5fdef2a
tree15259dbb31aaaa1d4663d894ded6dee46eba470e
parent2985c29c196418b8f666bc9240c922aa56bff599
mfd: Guard max77686_pmic_dt_match with CONFIG_OF

This fixes below build warning if CONFIG_OF is not set.

  CC      drivers/mfd/max77686.o
drivers/mfd/max77686.c:37:42: warning: 'max77686_pmic_dt_match' defined but not used [-Wunused-variable]

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/max77686.c