From: Javier Martinez Canillas Date: Fri, 4 Jul 2014 20:24:06 +0000 (+0200) Subject: mfd: max77686: Don't define dummy function if OF isn't enabled X-Git-Tag: cleanup-for-v3.18~88^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=154409e4502621022dd6c84a091da350bc80d265;p=pandora-kernel.git mfd: max77686: Don't define dummy function if OF isn't enabled When the CONFIG_OF option was not enabled, a dummy function max77686_i2c_parse_dt_pdata() was defined since this is called unconditionally on probe(). Just always define the real function and conditionally call it if CONFIG_OF is enabled instead. Signed-off-by: Javier Martinez Canillas Signed-off-by: Lee Jones --- Reading git-diff-tree failed