[Lunar-commits] <moonbase> i2c: added kernel v3 handler

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sat Nov 19 23:39:02 CET 2011


commit c8be6d9a382d232a77302436777c53d902077a1b
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sat Nov 19 23:39:02 2011 +0100

    i2c: added kernel v3 handler
---
 libs/i2c/CONFIGURE |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libs/i2c/CONFIGURE b/libs/i2c/CONFIGURE
index 18c4b48..0e85d47 100644
--- a/libs/i2c/CONFIGURE
+++ b/libs/i2c/CONFIGURE
@@ -1,11 +1,11 @@
-# Instead of trying to always maintain the linux-2.6* CONFLICTS file
+# Instead of trying to always maintain the linux-2.6* or linux-3.* CONFLICTS file
 # just check the running kernel.
 
-if echo "`uname -r`" | grep -q '^2\.6\.' ; then
+if echo "`uname -r`" | grep -q '^2\.6\.\|3\.' ; then
   message ""
   message "${PROBLEM_COLOUR}********************"
   message " This driver is designed for the 2.4.x series kernel."
-  message " The 2.6.x series kernel you are running natively supports i2c."
+  message " The 2.6.x or 3.x series kernel you are running natively supports i2c."
   message " You will find in menuconfig under 'Character devices' -> 'I2C support'."
   message " Install aborted."
   message "********************${DEFAULT_COLOUR}"


More information about the Lunar-commits mailing list