CAN: softing driver depends on IOMEM
authorChuck Ebbert <cebbert@redhat.com>
Mon, 31 Jan 2011 05:44:07 +0000 (05:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jan 2011 21:20:21 +0000 (13:20 -0800)
Without this dependency the softing driver will be buildable on s390,
where it fails.

Signed-Off-By: Chuck Ebbert <cebbert@redhat.com>
Acked-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/softing/Kconfig

index 92bd6bdde5e35d83cabaa461d8cb006c06416704..8ba81b3ddd90424491a18dbdd2c8f8560fd0eef4 100644 (file)
@@ -1,6 +1,6 @@
 config CAN_SOFTING
        tristate "Softing Gmbh CAN generic support"
-       depends on CAN_DEV
+       depends on CAN_DEV && HAS_IOMEM
        ---help---
          Support for CAN cards from Softing Gmbh & some cards
          from Vector Gmbh.