Show
Ignore:
Timestamp:
09/18/05 20:28:51 (9 years ago)
Author:
mmh
Message:

(mmh)
This patch moves the chip and bus lists from lib/proc.c to lib/data.c.
The variables were already declared in lib/data.h. Motivation: when
support for kernel 2.4.x becomes optional, lib/proc.c may not even be
compiled into the library... but these variables are still needed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/lib/data.c

    r3076 r3090  
    3636int sensors_config_busses_count = 0; 
    3737int sensors_config_busses_max = 0; 
     38 
     39sensors_proc_chips_entry *sensors_proc_chips = NULL; 
     40int sensors_proc_chips_count = 0; 
     41int sensors_proc_chips_max = 0; 
     42 
     43sensors_bus *sensors_proc_bus = NULL; 
     44int sensors_proc_bus_count = 0; 
     45int sensors_proc_bus_max = 0; 
    3846 
    3947static int sensors_substitute_chip(sensors_chip_name *name,int lineno);