]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: arizona: Add stub for wm5102_patch()
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Wed, 13 May 2015 15:52:25 +0000 (16:52 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 22 Jun 2015 11:25:18 +0000 (12:25 +0100)
commit894424a3358dec72da4d44b71473d5544219687d
tree9a01cc27b86185b8be2b29624f6b4e7b614d9ad2
parentb71b1045e38b387d53cd6c229257e8e87cc14b8a
mfd: arizona: Add stub for wm5102_patch()

For the WM5102 there is a dependency in the core code on wm5102_patch()
which only exists when CONFIG_MFD_WM5102 is defined. To avoid having
to sprinkle #ifdefs around the code it is given an alternative empty
stub version when CONFIG_MFD_WM5102 is deselected

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/arizona/core.h