]> err.no Git - linux-2.6/commit
mfd: sm501 build fixes when CONFIG_MFD_SM501_GPIO unset
authorBen Dooks <ben-linux@fluff.org>
Fri, 25 Jul 2008 08:46:02 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:30 +0000 (10:53 -0700)
commitf2999209d779573e17468b680f5f267d8cb2a9c7
tree4b86867c25a550bde4dd66a3e0728c3f217e961e
parent28130bea3bcfefe3437b0a5dcab786f1f0296953
mfd: sm501 build fixes when CONFIG_MFD_SM501_GPIO unset

Fix the build problems if CONFIG_MFD_SM501_GPIO is not set, which is
generally when there is no gpiolib support available as currently happens
on x86 when building PCI SM501.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Tested-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/sm501.c