Changeset 2817

Show
Ignore:
Timestamp:
12/31/04 15:12:37 (8 years ago)
Author:
mds
Message:

(mds) fix compile error of mine. Thanks Axel.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r2811 r2817  
    1919 
    20202.9.1 (2005????) 
     21  Module bmcsensors: Fix compile error 
    2122 
    22232.9.0 (20041228) 
  • lm-sensors/trunk/kernel/chips/bmcsensors.c

    r2784 r2817  
    298298 
    299299        /* swap lim1/lim2 if m < 0 or function is 1/x (but not both!) */ 
    300         if(m < 0 && sd->linear != 7 || m >= 0 && sd->linear == 7) { 
     300        if(sd->m < 0 && sd->linear != 7 || sd->m >= 0 && sd->linear == 7) { 
    301301                tmp = sd->lim1; 
    302302                sd->lim1 = sd->lim2;