]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mfd: syscon: Return -ENOSYS if CONFIG_MFD_SYSCON is not enabled
authorPeter Chen <peter.chen@freescale.com>
Tue, 22 Oct 2013 08:46:25 +0000 (16:46 +0800)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:22:35 +0000 (16:22 +0100)
commitdf73de9b0d412915384396637bf67ef9208161e9
tree249e2e7910ca68c4c7b0adcbdcbbcda835bedaca
parentd460a6f3d67a8558fb58299518077888b7dbf5f3
mfd: syscon: Return -ENOSYS if CONFIG_MFD_SYSCON is not enabled

Some platforms may not define CONFIG_MFD_SYSCON (or haven't syscon),
it can fix build error for these platforms.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/syscon.h