Changeset 4498
- Timestamp:
- 06/27/07 16:53:36 (6 years ago)
- Location:
- lm-sensors/branches/lm-sensors-3.0.0
- Files:
-
- 2 modified
-
doc/developers/applications (modified) (3 diffs)
-
kernel/include/Module.mk (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/doc/developers/applications
r4484 r4498 11 11 1) Character device access to the i2c bus driver 12 12 via /dev/i2c-x 13 2) I2C bus access functions as defined in kernel/include/i2c-dev.h13 2) I2C bus access functions as defined in <linux/i2c-dev.h> 14 14 3) sysfs access to the chip device driver 15 15 4) libsensors library … … 40 40 2. Direct /dev access using inline functions 41 41 -------------------------------------------- 42 I2C bus access inline functions as defined in kernel/include/i2c-dev.h,42 I2C bus access inline functions as defined in <linux/i2c-dev.h>, 43 43 and in doc/dev-interface in the i2c package or 44 44 Documentation/i2c/dev-interface in the linux kernel sources. … … 46 46 source tree. However, userspace applications are not supposed to 47 47 include kernel headers, so the inline functions were removed from 48 the kernel file in recent kernels. Use the header file in this package49 i nstead.48 the kernel file in recent kernels. Use the header file from the 49 i2c-tools package instead. 50 50 51 51 This method does not use a chip device driver at all. -
lm-sensors/branches/lm-sensors-3.0.0/kernel/include/Module.mk
r4397 r4498 22 22 KERNELINCLUDEDIR := $(MODULE_DIR) 23 23 24 KERNELINCLUDEFILES := $(MODULE_DIR)/ i2c-dev.h $(MODULE_DIR)/sensors.h24 KERNELINCLUDEFILES := $(MODULE_DIR)/sensors.h 25 25 26 26 REMOVEKERNELINC := $(patsubst $(MODULE_DIR)/%,$(DESTDIR)$(SYSINCLUDEDIR)/%,$(KERNELINCLUDEFILES))
