commit | 154409e4502621022dd6c84a091da350bc80d265 | [log] [tgz] |
---|---|---|
author | Javier Martinez Canillas <javier.martinez@collabora.co.uk> | Fri Jul 04 22:24:06 2014 +0200 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Jul 21 16:54:28 2014 +0100 |
tree | f2bb29ae3f726401421684f681d1d49dc6421d63 | |
parent | 2b52b5d5f25108739954f0c544dfe72f08a3aacc [diff] |
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 <javier.martinez@collabora.co.uk> Signed-off-by: Lee Jones <lee.jones@linaro.org>