Show
Ignore:
Timestamp:
09/16/99 21:47:46 (15 years ago)
Author:
frodo
Message:

PCI fixes for kernel 2.3.13 and later. Typo fixed in thmc50 which

bit the compiler.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/kernel/busses/i2c-voodoo3.c

    r516 r566  
    419419 
    420420        /* map Voodoo3 memory */ 
    421 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,54)) 
     421#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,13) 
     422        cadr = dev->resource[0].start; 
     423#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,1,54) 
    422424        cadr = dev->base_address[0]; 
    423425#else