Show
Ignore:
Timestamp:
02/04/01 23:21:19 (14 years ago)
Author:
mds
Message:

Copy sensors.c and sensors.h from the lm_sensors package and

name them i2c-proc.c and i2c-proc.h.
Add DEVICEID's from sensors.h to i2c-id.h.
Add #defines from i2c-isa.h in lm_sensors to i2c.h.
Update mkpatch for i2c-proc.[ch].

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • i2c/trunk/kernel/Module.mk

    r3426 r3527  
    5757KERNELINCLUDES += $(MODULE_DIR)/i2c-elektor.h $(MODULE_DIR)/i2c-pcf8584.h 
    5858endif 
     59ifneq ($(shell if grep -q '^CONFIG_I2C_PROC=y' $(LINUX)/.config; then echo 1; fi),1) 
     60KERNELTARGETS += $(MODULE_DIR)/i2c-proc.o 
     61KERNELINCLUDES += $(MODULE_DIR)/i2c-proc.h 
     62endif 
    5963 
    6064# Include all dependency files