Patchwork CAN: softing driver depends on IOMEM

login
register
mail settings
Submitter Chuck Ebbert
Date Jan. 31, 2011, 3:44 p.m.
Message ID <20110131104407.25a54119@katamari>
Download mbox | patch
Permalink /patch/81154/
State Accepted
Delegated to: David Miller
Headers show

Comments

Chuck Ebbert - Jan. 31, 2011, 3:44 p.m.
CAN: softing driver depends on IOMEM

Without this dependency the softing driver will be buildable on s390,
where it fails.

Signed-Off-By: Chuck Ebbert <cebbert@redhat.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Kurt Van Dijck - Jan. 31, 2011, 4:03 p.m.
On Mon, Jan 31, 2011 at 10:44:07AM -0500, Chuck Ebbert wrote:
> CAN: softing driver depends on IOMEM
Acked-by: Kurt Van Dijck <kurt.van.dijck@eia.be>

I had not imagined a system without iomem.

Regards,
Kurt Van Dijck
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Jan. 31, 2011, 9:20 p.m.
From: Kurt Van Dijck <kurt.van.dijck@eia.be>
Date: Mon, 31 Jan 2011 17:03:34 +0100

> On Mon, Jan 31, 2011 at 10:44:07AM -0500, Chuck Ebbert wrote:
>> CAN: softing driver depends on IOMEM
> Acked-by: Kurt Van Dijck <kurt.van.dijck@eia.be>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- a/drivers/net/can/softing/Kconfig
+++ b/drivers/net/can/softing/Kconfig
@@ -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.