[Armadeus-commitlog] SF.net SVN: armadeus: [662] trunk/target/linux/modules/gpio
Brought to you by:
sszy
|
From: <ar...@us...> - 2007-10-28 11:49:11
|
Revision: 662
http://armadeus.svn.sourceforge.net/armadeus/?rev=662&view=rev
Author: artemys
Date: 2007-10-28 04:49:12 -0700 (Sun, 28 Oct 2007)
Log Message:
-----------
[LINUX] Allow GPIO drivers to be compiled on 2.6.23 and upper kernels
Modified Paths:
--------------
trunk/target/linux/modules/gpio/core.h
trunk/target/linux/modules/gpio/ppdevemu.h
Modified: trunk/target/linux/modules/gpio/core.h
===================================================================
--- trunk/target/linux/modules/gpio/core.h 2007-10-27 17:50:32 UTC (rev 661)
+++ trunk/target/linux/modules/gpio/core.h 2007-10-28 11:49:12 UTC (rev 662)
@@ -19,7 +19,10 @@
#ifndef __CORE_GPIO_H__
#define __CORE_GPIO_H__
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
#include <linux/config.h>
+#endif
//#include <config/modversions.h>
#include <linux/module.h>
#include <linux/kernel.h>
Modified: trunk/target/linux/modules/gpio/ppdevemu.h
===================================================================
--- trunk/target/linux/modules/gpio/ppdevemu.h 2007-10-27 17:50:32 UTC (rev 661)
+++ trunk/target/linux/modules/gpio/ppdevemu.h 2007-10-28 11:49:12 UTC (rev 662)
@@ -19,7 +19,10 @@
#ifndef __PPDEV_EMU_H__
#define __PPDEV_EMU_H__
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
#include <linux/config.h>
+#endif
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/fs.h>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|