MFD: allow cs5535-mfd to build on X86 only
authorAndres Salomon <dilinger@queued.net>
Mon, 28 Mar 2011 04:26:03 +0000 (21:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Mar 2011 14:51:42 +0000 (07:51 -0700)
commit15b7cf1416c0e3ae6163ade3349d717fe2729952
tree1f06ff7b68e41b5550dffd9939e16a2f5be9ec9e
parent7e599e6e62759e057e902fcf9a05ba24f6155bcd
MFD: allow cs5535-mfd to build on X86 only

Stephen ran into the following build error:

  drivers/mfd/cs5535-mfd.c:30:22: error: asm/olpc.h: No such file or directory

olpc.h exists only on x86 (and in the future, ARM).  Rather than
wrapping the include in an #ifdef, just change cs5535-mfd to only build
on x86.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andres Salomon <dilinger@queued.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/Kconfig