From c51755ccda55a60133cf181d42432d5d8e4ca98f Mon Sep 17 00:00:00 2001 From: lfcorreia <> Date: Tue, 31 May 2005 20:42:55 +0000 Subject: [lcd4linux @ 2005-05-31 20:42:54 by lfcorreia] new file: lcd4linux_i2c.h avoid the problems detecting the proper I2C kernel include files rearrange all the other autoconf stuff to remove I2C detection new method by Paul Kamphuis to write to the I2C device --- drivers.m4 | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'drivers.m4') diff --git a/drivers.m4 b/drivers.m4 index ee5da93..0a6100e 100644 --- a/drivers.m4 +++ b/drivers.m4 @@ -372,13 +372,8 @@ fi # generic i2c driver if test "$I2C" = "yes"; then - if test "$has_i2c" = true; then - DRIVERS="$DRIVERS drv_generic_i2c.o" - AC_DEFINE(WITH_I2C, 1, [I2C bus driver]) - else - I2C="no" - AC_MSG_WARN(I2C include files not found: I2C bus driver disabled) - fi + DRIVERS="$DRIVERS drv_generic_i2c.o" + AC_DEFINE(WITH_I2C, 1, [I2C bus driver]) fi -- cgit v1.2.3