Module: xenomai-head
Branch: master
Commit: 1b74f0056dc203c4723f61363e1e49128ecdd2de

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 files changed, 1 insertions(+), 0 deletions(-)

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