[svn-commits] sruffell: linux/trunk r6549 - /linux/trunk/drivers/dahdi/wctc4xxp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri May 1 11:42:26 CDT 2009
Author: sruffell
Date: Fri May 1 11:42:23 2009
New Revision: 6549
URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6549
Log:
wctc4xxp: Fix inclusion of linux/io.h on 2.6.9 kernels.
DAHDI-253
Modified:
linux/trunk/drivers/dahdi/wctc4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wctc4xxp/base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/trunk/drivers/dahdi/wctc4xxp/base.c?view=diff&rev=6549&r1=6548&r2=6549
==============================================================================
--- linux/trunk/drivers/dahdi/wctc4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctc4xxp/base.c Fri May 1 11:42:23 2009
@@ -30,7 +30,6 @@
#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
-#include <linux/io.h>
#include <linux/jiffies.h>
#include <linux/moduleparam.h>
#include <linux/firmware.h>
@@ -41,6 +40,12 @@
#include <linux/timer.h>
#include "dahdi/kernel.h"
+
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 18)
+#include <asm/io.h>
+#else
+#include <linux/io.h>
+#endif
/* COMPILE TIME OPTIONS =================================================== */
More information about the svn-commits
mailing list