Changeset 4507

Show
Ignore:
Timestamp:
06/28/07 11:53:01 (6 years ago)
Author:
khali
Message:

Move the few lines of code remaining in chips.c to data.c, and finally
delete chips.c. RIP.

Location:
lm-sensors/branches/lm-sensors-3.0.0/lib
Files:
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/lib/Module.mk

    r4506 r4507  
    4747 
    4848LIBCSOURCES := $(MODULE_DIR)/data.c $(MODULE_DIR)/general.c \ 
    49                $(MODULE_DIR)/error.c $(MODULE_DIR)/chips.c \ 
     49               $(MODULE_DIR)/error.c \ 
    5050               $(MODULE_DIR)/proc.c $(MODULE_DIR)/access.c \ 
    5151               $(MODULE_DIR)/init.c $(MODULE_DIR)/sysfs.c 
  • lm-sensors/branches/lm-sensors-3.0.0/lib/data.c

    r4474 r4507  
    4444int sensors_proc_bus_count = 0; 
    4545int sensors_proc_bus_max = 0; 
     46 
     47#define PLACEHOLDER_ELEMENTS {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0} 
     48 
     49sensors_chip_features sensors_chip_features_list[] = { 
     50  PLACEHOLDER_ELEMENTS, 
     51  { 0 } 
     52}; 
    4653 
    4754static int sensors_substitute_chip(sensors_chip_name *name,int lineno);