Module: xenomai-gch
Branch: for-2.4
Commit: f6455054bfbc5c928e4338a9fb77e9ac6aef9ee0

Author: Philippe Gerum <>
Date:   Mon Dec 28 18:22:07 2009 +0100

rtcan: pull rtdm/rtdm_driver.h first

We have to pull rtdm/rtdm_driver.h before rtdm/rtcan.h, so that
arch-specific wrappers could be pulled in turn from low-level RTOS
headers, possibly for depolluting the namespace before rtcan
definitions are read.

This change is required for fixing arch-specific issues in kernel
header files (e.g. Blackfin for pre-2.6.31 releases).

Instead of reshuffling the inclusion order of header files, this
change deliberately picks the fathead conservative way for fixing the


 ksrc/drivers/can/rtcan_module.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ksrc/drivers/can/rtcan_module.c b/ksrc/drivers/can/rtcan_module.c
index b180973..889ae89 100644
--- a/ksrc/drivers/can/rtcan_module.c
+++ b/ksrc/drivers/can/rtcan_module.c
@@ -26,6 +26,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
+#include <rtdm/rtdm_driver.h>
 #include <rtdm/rtcan.h>
 #include <rtcan_version.h>
 #include <rtcan_internal.h>

Xenomai-git mailing list

Reply via email to