pcmcia: sa1100: H3100 and H3600 share a driver
authorArnd Bergmann <arnd@arndb.de>
Thu, 5 Jun 2014 21:05:49 +0000 (23:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 21:41:30 +0000 (14:41 -0700)
commitd8477126f46b036b26d95b127689a3774a080e34
treeb798f35662638f447bdb99a1766a2d528de0aea3
parent7a446d635dd752a5326bbc458707364a288b3663
pcmcia: sa1100: H3100 and H3600 share a driver

When building a iPAQ H3100-only kernel with PCMCIA enabled,
we get this build error:

ERROR: "pcmcia_h3600_init" [drivers/pcmcia/sa1100_cs.ko] undefined!

The defconfig normally works fine because it enables both H3100
and H3600 support. This patch fixes the Makefile to build the
driver if at least one of the two machines are selected.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pcmcia/Makefile