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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Dec 22 03:42:39 2009 +0100

rtdm: include the new pci_ids driver through rtdm

---

 include/rtdm/rtdm_driver.h                 |    3 +++
 ksrc/drivers/can/sja1000/rtcan_ems_pci.c   |    1 -
 ksrc/drivers/can/sja1000/rtcan_esd_pci.c   |    1 -
 ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c |    1 -
 ksrc/drivers/can/sja1000/rtcan_peak_pci.c  |    1 -
 5 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/include/rtdm/rtdm_driver.h b/include/rtdm/rtdm_driver.h
index 2278e57..1697b5c 100644
--- a/include/rtdm/rtdm_driver.h
+++ b/include/rtdm/rtdm_driver.h
@@ -43,6 +43,9 @@
 
 /* debug support */
 #include <nucleus/assert.h>
+#ifdef CONFIG_PCI
+#include <asm-generic/xenomai/pci_ids.h>
+#endif /* CONFIG_PCI */
 
 #ifndef CONFIG_XENO_OPT_DEBUG_RTDM
 #define CONFIG_XENO_OPT_DEBUG_RTDM     0
diff --git a/ksrc/drivers/can/sja1000/rtcan_ems_pci.c 
b/ksrc/drivers/can/sja1000/rtcan_ems_pci.c
index a0921b4..f69b5b8 100644
--- a/ksrc/drivers/can/sja1000/rtcan_ems_pci.c
+++ b/ksrc/drivers/can/sja1000/rtcan_ems_pci.c
@@ -23,7 +23,6 @@
 #include <linux/delay.h>
 #include <linux/pci.h>
 #include <asm/io.h>
-#include <asm-generic/xenomai/pci_ids.h>
 
 #include <rtdm/rtdm_driver.h>
 
diff --git a/ksrc/drivers/can/sja1000/rtcan_esd_pci.c 
b/ksrc/drivers/can/sja1000/rtcan_esd_pci.c
index 8d9aa3e..79cf8b6 100644
--- a/ksrc/drivers/can/sja1000/rtcan_esd_pci.c
+++ b/ksrc/drivers/can/sja1000/rtcan_esd_pci.c
@@ -25,7 +25,6 @@
 #include <linux/delay.h>
 #include <linux/pci.h>
 #include <asm/io.h>
-#include <asm-generic/xenomai/pci_ids.h>
 
 #include <rtdm/rtdm_driver.h>
 
diff --git a/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c 
b/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
index ac8affc..5faa763 100644
--- a/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
+++ b/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
@@ -21,7 +21,6 @@
 #include <linux/delay.h>
 #include <linux/pci.h>
 #include <asm/io.h>
-#include <asm-generic/xenomai/pci_ids.h>
 
 #include <rtdm/rtdm_driver.h>
 
diff --git a/ksrc/drivers/can/sja1000/rtcan_peak_pci.c 
b/ksrc/drivers/can/sja1000/rtcan_peak_pci.c
index bc5668b..cf46bff 100644
--- a/ksrc/drivers/can/sja1000/rtcan_peak_pci.c
+++ b/ksrc/drivers/can/sja1000/rtcan_peak_pci.c
@@ -26,7 +26,6 @@
 #include <linux/delay.h>
 #include <linux/pci.h>
 #include <asm/io.h>
-#include <asm-generic/xenomai/pci_ids.h>
 
 #include <rtdm/rtdm_driver.h>
 


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

Reply via email to