Changeset 7

Show
Ignore:
Timestamp:
11/03/98 04:48:44 (15 years ago)
Author:
phil
Message:

(Phil) I disabled manual symbol exporting under 2.1.x. This shouldn't
effect anything in an adverse way (except possibly messing up the
name-space a bit :'). But, it compiles and *should* link OK. Testers???

Location:
lm-sensors/trunk/i2c
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/i2c/algo-bit.c

    r3 r7  
    1818    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                */ 
    1919/* ------------------------------------------------------------------------- */ 
    20 static char alg_rcsid[] = "$Id: algo-bit.c,v 1.7 1998/09/28 06:45:38 i2c Exp i2c $"; 
     20static char alg_rcsid[] = "$Id: algo-bit.c,v 1.1 1998/11/02 20:29:27 frodo Exp $"; 
    2121 
    2222#include <linux/kernel.h> 
     
    639639MODULE_PARM_DESC(i2c_debug,"debug level - 0 off; 1 normal; 2,3 more verbose; 9 bit-protocol"); 
    640640 
    641  
     641#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0)) 
    642642EXPORT_SYMBOL(i2c_bit_add_bus); 
    643643EXPORT_SYMBOL(i2c_bit_del_bus); 
    644  
     644#endif 
    645645 
    646646int init_module(void)  
     
    654654} 
    655655#endif 
    656  
    657  
    658  
    659  
    660  
    661  
    662  
    663  
    664  
    665  
  • lm-sensors/trunk/i2c/i2c-core.c

    r3 r7  
    1818    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.                */ 
    1919/* ------------------------------------------------------------------------- */ 
    20 #define RCSID "$Id: i2c.c,v 1.7 1998/09/28 06:45:38 i2c Exp i2c $" 
     20#define RCSID "$Id: i2c-core.c,v 1.1 1998/11/02 20:29:27 frodo Exp $" 
    2121/* ------------------------------------------------------------------------- */ 
    2222 
     
    442442MODULE_PARM_DESC(i2c_debug,"debug level"); 
    443443 
     444#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0)) 
    444445EXPORT_SYMBOL(i2c_add_algorithm); 
    445446EXPORT_SYMBOL(i2c_del_algorithm); 
     
    455456EXPORT_SYMBOL(i2c_control); 
    456457EXPORT_SYMBOL(i2c_transfer); 
    457  
     458#endif 
    458459 
    459460int init_module(void)