Module: xenomai-jki
Branch: for-upstream
Commit: b8b5781e465a6f12e93957610d1e903ba352583f
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=b8b5781e465a6f12e93957610d1e903ba352583f

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Wed Oct 17 13:03:44 2012 +0200

can: Flexcan driver depends on open firmware

This prevents accidental builds of the driver on platforms that doesn't
provide the required interfaces.

CC: Wolfgang Grandegger <w...@grandegger.com>
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 ksrc/drivers/can/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/drivers/can/Kconfig b/ksrc/drivers/can/Kconfig
index 216b807..0f19306 100644
--- a/ksrc/drivers/can/Kconfig
+++ b/ksrc/drivers/can/Kconfig
@@ -80,7 +80,7 @@ config XENO_DRIVERS_CAN_VIRT
        More ports can be enabled with the module parameter "devices".
 
 config XENO_DRIVERS_CAN_FLEXCAN
-       depends on XENO_DRIVERS_CAN && !XENO_DRIVERS_CAN_CALC_BITTIME_OLD
+       depends on XENO_DRIVERS_CAN && OF && !XENO_DRIVERS_CAN_CALC_BITTIME_OLD
        tristate "Freescale FLEXCAN based chips"
        help
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to