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:
Mark D. Studebaker
2001-02-06 02:53:46 +00:00
parent fa761437c0
commit b5d014bd46
28 changed files with 22 additions and 429 deletions
+4 -3
View File
@@ -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 \