mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-02 14:33:20 +07:00
Disable sensors.c and i2c-isa.h in the Module.mk files.
Leave the files there for now.
Remove old installed sensors.o in kernel/Module.mk.
sensors.c was moved to i2c-proc.c in the i2c package.
i2c-isa.h was appended to i2c.h in the i2c package.
Delete all but the SYSCTL and ALARMS definitions in sensors.h,
as the rest of the file was moved to i2c-proc.h in the i2c package.
Remove #include "i2c-isa.h" lines in all chip drivers and
in bus driver i2c-isa.c.
This all probably breaks mkpatch.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1015 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -25,9 +25,10 @@ KERNELINCLUDEFILES :=
|
||||
ifneq ($(shell if grep -q '^CONFIG_SENSORS=y' $(LINUX)/.config; then echo 1; fi),1)
|
||||
KERNELINCLUDEFILES += $(MODULE_DIR)/sensors.h
|
||||
endif
|
||||
ifneq ($(shell if grep -q '^CONFIG_I2C_ISA=y' $(LINUX)/.config; then echo 1; fi),1)
|
||||
KERNELINCLUDEFILES += $(MODULE_DIR)/i2c-isa.h
|
||||
endif
|
||||
# No longer used, part of <linux/i2c.h>
|
||||
#ifneq ($(shell if grep -q '^CONFIG_I2C_ISA=y' $(LINUX)/.config; then echo 1; fi),1)
|
||||
#KERNELINCLUDEFILES += $(MODULE_DIR)/i2c-isa.h
|
||||
#endif
|
||||
|
||||
install-all-kernel-include:
|
||||
if [ -n "$(KERNELINCLUDEFILES)" ] ; then \
|
||||
|
||||
Reference in New Issue
Block a user