Module: xenomai-forge
Branch: master
Commit: 9a3db22aac14f5f8db58cee92f43ec95ac0944c0
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=9a3db22aac14f5f8db58cee92f43ec95ac0944c0

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>

---

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

diff --git a/kernel/drivers/can/Kconfig b/kernel/drivers/can/Kconfig
index e6826e6..0a8ad56 100644
--- a/kernel/drivers/can/Kconfig
+++ b/kernel/drivers/can/Kconfig
@@ -79,7 +79,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