Changeset 23

Show
Ignore:
Timestamp:
12/02/98 18:43:13 (10 years ago)
Author:
frodo
Message:

Made sure the right i2c.h file was always included

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/Makefile

    r21 r23  
    8585# non-kernel object files (which are linked into executables). 
    8686CFLAGS := -D__KERNEL__ -DMODULE -I. -Ii2c -O2 -fomit-frame-pointer -DLM_SENSORS 
    87 EXCFLAGS := -I. -O2 -Ii2c -D LM_SENSORS 
     87EXCFLAGS := -I. -Ii2c -O2 -D LM_SENSORS 
    8888 
    8989ifeq ($(DEBUG),1) 
  • lm-sensors/trunk/kernel/include/smbus.h

    r13 r23  
    2525   too.  
    2626*/ 
    27 #ifdef I2C 
    28 #include "i2c/i2c.h" 
    29 #else /* def I2C */ 
    30 #include <linux/i2c.h> 
    31 #endif /* def I2C */ 
    32  
     27#include "i2c.h" 
    3328#include <asm/types.h> 
    3429 
  • lm-sensors/trunk/src/smbus.h

    r13 r23  
    2525   too.  
    2626*/ 
    27 #ifdef I2C 
    28 #include "i2c/i2c.h" 
    29 #else /* def I2C */ 
    30 #include <linux/i2c.h> 
    31 #endif /* def I2C */ 
    32  
     27#include "i2c.h" 
    3328#include <asm/types.h> 
    3429