2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

add xxx_init() calls to bottom of sensors.c for those drivers added

to mkpatch in 2.5.5. Also add mtp008 and ds1621 init calls in anticipation
      of them being added. Fix typos adm9024->adm9240.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@997 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Mark D. Studebaker
2001-01-17 01:42:56 +00:00
parent 16bf6df6a7
commit d569353d79
2 changed files with 55 additions and 3 deletions

View File

@@ -17,6 +17,10 @@ ask CVS about it:
-----------------------------------------------------------------------------
2.5.6 (2001????)
Module sensors: add xxx_init() calls for drivers added to mkpatch in 2.5.5.
Program mkpatch.pl: fix adm9240 typos
2.5.5 (20010115)
NOTE: i2c 2.5.5 MUST BE be compiled and installed first, UNLESS
you have kernel 2.4.0-prerelease or greater.

View File

@@ -919,8 +919,17 @@ int cleanup_module(void)
#ifdef CONFIG_SENSORS_ADM1021
extern int sensors_adm1021_init(void);
#endif
#ifdef CONFIG_SENSORS_ADM1025
extern int sensors_adm1025_init(void);
#endif
#ifdef CONFIG_SENSORS_ADM9240
extern int sensors_adm9024_init(void);
extern int sensors_adm9240_init(void);
#endif
#ifdef CONFIG_SENSORS_BT869
extern int sensors_bt869_init(void);
#endif
#ifdef CONFIG_SENSORS_DDCMON
extern int sensors_ddcmon_init(void);
#endif
#ifdef CONFIG_SENSORS_DS1621
extern int sensors_ds1621_init(void);
@@ -928,6 +937,9 @@ extern int sensors_ds1621_init(void);
#ifdef CONFIG_SENSORS_GL518SM
extern int sensors_gl518sm_init(void);
#endif
#ifdef CONFIG_SENSORS_GL520SM
extern int sensors_gl520sm_init(void);
#endif
#ifdef CONFIG_SENSORS_LM75
extern int sensors_lm75_init(void);
#endif
@@ -937,9 +949,21 @@ extern int sensors_lm78_init(void);
#ifdef CONFIG_SENSORS_LM80
extern int sensors_lm80_init(void);
#endif
#ifdef CONFIG_SENSORS_LM87
extern int sensors_lm87_init(void);
#endif
#ifdef CONFIG_SENSORS_MTP008
extern int sensors_mtp008_init(void);
#endif
#ifdef CONFIG_SENSORS_SIS5595
extern int sensors_sis5595_init(void);
#endif
#ifdef CONFIG_SENSORS_THMC50
extern int sensors_thmc50_init(void);
#endif
#ifdef CONFIG_SENSORS_VIA686A
extern int sensors_via686a_init(void);
#endif
#ifdef CONFIG_SENSORS_W83781D
extern int sensors_w83781d_init(void);
#endif
@@ -956,8 +980,17 @@ int __init sensors_init_all(void)
#ifdef CONFIG_SENSORS_ADM1021
sensors_adm1021_init();
#endif
#ifdef CONFIG_SENSORS_ADM9024
sensors_adm9024_init();
#ifdef CONFIG_SENSORS_ADM1025
sensors_adm1025_init();
#endif
#ifdef CONFIG_SENSORS_ADM9240
sensors_adm9240_init();
#endif
#ifdef CONFIG_SENSORS_BT869
sensors_bt869_init();
#endif
#ifdef CONFIG_SENSORS_DDCMON
sensors_ddcmon_init();
#endif
#ifdef CONFIG_SENSORS_DS1621
sensors_ds1621_init();
@@ -965,6 +998,9 @@ int __init sensors_init_all(void)
#ifdef CONFIG_SENSORS_GL518SM
sensors_gl518sm_init();
#endif
#ifdef CONFIG_SENSORS_GL520SM
sensors_gl520sm_init();
#endif
#ifdef CONFIG_SENSORS_LM75
sensors_lm75_init();
#endif
@@ -974,9 +1010,21 @@ int __init sensors_init_all(void)
#ifdef CONFIG_SENSORS_LM80
sensors_lm80_init();
#endif
#ifdef CONFIG_SENSORS_LM87
sensors_lm87_init();
#endif
#ifdef CONFIG_SENSORS_MTP008
sensors_mtp008_init();
#endif
#ifdef CONFIG_SENSORS_SIS5595
sensors_sis5595_init();
#endif
#ifdef CONFIG_SENSORS_THMC50
sensors_thmc50_init();
#endif
#ifdef CONFIG_SENSORS_VIA686A
sensors_via686a_init();
#endif
#ifdef CONFIG_SENSORS_W83781D
sensors_w83781d_init();
#endif