From: Jan Kiszka <jan.kiszka@siemens.com>
To: Xenomai <xenomai@xenomai.org>
Cc: Wolfgang Grandegger <wg@denx.de>
Subject: [Xenomai] [PATCH] can: Let Flexcan driver depend on platform support
Date: Wed, 17 Oct 2012 13:20:10 +0200 [thread overview]
Message-ID: <507E946A.5020105@siemens.com> (raw)
Just like the Linux version does, let our RT Flexcan driver depend on
CONFIG_HAVE_CAN_FLEXCAN so that it can only be selected on platforms
that actually support it.
Signed-off-by: Jan Kiszka <jan.kiszka@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..ce411dd 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 && HAVE_CAN_FLEXCAN && !XENO_DRIVERS_CAN_CALC_BITTIME_OLD
tristate "Freescale FLEXCAN based chips"
help
--
1.7.3.4
next reply other threads:[~2012-10-17 11:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-17 11:20 Jan Kiszka [this message]
2012-10-17 11:22 ` [Xenomai] [PATCH] can: Let Flexcan driver depend on platform support Gilles Chanteperdrix
2012-10-17 11:27 ` Jan Kiszka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=507E946A.5020105@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=wg@denx.de \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.