Module: xenomai-head
Branch: master
Commit: 5b180b7bb7c1f686f0421112b59cff92d156a089
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=5b180b7bb7c1f686f0421112b59cff92d156a089

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Mon Dec 14 11:44:26 2009 +0100

rtcan: make rtcan pci board depend on CONFIG_PCI

This prevents the build on platforms (such as some ARMs) which
do not have a PCI bus to fail with undefined references to
pci_iounmap.

---

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

diff --git a/ksrc/drivers/can/sja1000/Kconfig b/ksrc/drivers/can/sja1000/Kconfig
index 53abdd9..56f4691 100644
--- a/ksrc/drivers/can/sja1000/Kconfig
+++ b/ksrc/drivers/can/sja1000/Kconfig
@@ -22,7 +22,7 @@ config XENO_DRIVERS_CAN_SJA1000_MEM
        be defined via module parameters.
 
 config XENO_DRIVERS_CAN_SJA1000_PEAK_PCI
-       depends on XENO_DRIVERS_CAN_SJA1000
+       depends on XENO_DRIVERS_CAN_SJA1000 && PCI
        tristate "PEAK PCI Card"
        help
 
@@ -32,7 +32,7 @@ config XENO_DRIVERS_CAN_SJA1000_PEAK_PCI
        must be enabled.
 
 config XENO_DRIVERS_CAN_SJA1000_IXXAT_PCI
-       depends on XENO_DRIVERS_CAN_SJA1000
+       depends on XENO_DRIVERS_CAN_SJA1000 && PCI
        tristate "IXXAT PCI Card"
        help
 
@@ -43,7 +43,7 @@ config XENO_DRIVERS_CAN_SJA1000_IXXAT_PCI
 
 
 config XENO_DRIVERS_CAN_SJA1000_EMS_PCI
-       depends on XENO_DRIVERS_CAN_SJA1000
+       depends on XENO_DRIVERS_CAN_SJA1000 && PCI
        tristate "EMS CPC PCI Card"
        help
 
@@ -53,7 +53,7 @@ config XENO_DRIVERS_CAN_SJA1000_EMS_PCI
 
 
 config XENO_DRIVERS_CAN_SJA1000_ESD_PCI
-       depends on XENO_DRIVERS_CAN_SJA1000
+       depends on XENO_DRIVERS_CAN_SJA1000 && PCI
        tristate "ESD PCI Cards"
        help
 
@@ -64,7 +64,7 @@ config XENO_DRIVERS_CAN_SJA1000_ESD_PCI
 
 
 config XENO_DRIVERS_CAN_SJA1000_PEAK_DNG
-       depends on XENO_DRIVERS_CAN_SJA1000
+       depends on XENO_DRIVERS_CAN_SJA1000 && !PARPORT
        tristate "PEAK Parallel Port Dongle"
        help
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to