Changeset 21
- Timestamp:
- 12/02/98 16:11:18 (14 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 5 modified
-
Makefile (modified) (1 diff)
-
i2c/algo-bit.c (modified) (3 diffs)
-
i2c/bit-lp.c (modified) (2 diffs)
-
i2c/i2c-core.c (modified) (5 diffs)
-
i2c/i2c-dev.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/Makefile
r16 r21 84 84 # CFLAGS is to create in-kernel object files (modules); EXCFLAGS is to create 85 85 # non-kernel object files (which are linked into executables). 86 CFLAGS := -D__KERNEL__ -DMODULE -I. -Ii2c -O2 -fomit-frame-pointer 87 EXCFLAGS := -I. -O2 -Ii2c 86 CFLAGS := -D__KERNEL__ -DMODULE -I. -Ii2c -O2 -fomit-frame-pointer -DLM_SENSORS 87 EXCFLAGS := -I. -O2 -Ii2c -D LM_SENSORS 88 88 89 89 ifeq ($(DEBUG),1) -
lm-sensors/trunk/i2c/algo-bit.c
r8 r21 18 18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 19 19 /* ------------------------------------------------------------------------- */ 20 static char alg_rcsid[] = "$Id: algo-bit.c,v 1. 2 1998/11/03 03:48:44 phil Exp$";20 static char alg_rcsid[] = "$Id: algo-bit.c,v 1.7 1998/09/28 06:45:38 i2c Exp i2c $"; 21 21 22 22 #include <linux/kernel.h> … … 640 640 641 641 642 #ifndef LM_SENSORS 643 EXPORT_SYMBOL(i2c_bit_add_bus); 644 EXPORT_SYMBOL(i2c_bit_del_bus); 645 #endif 646 647 642 648 int init_module(void) 643 649 { … … 650 656 } 651 657 #endif 658 659 660 661 662 663 664 665 666 667 -
lm-sensors/trunk/i2c/bit-lp.c
r8 r21 18 18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 19 19 /* ------------------------------------------------------------------------- */ 20 static char rcsid[] = "$Id: bit-lp.c,v 1. 1 1998/11/02 20:29:27 frodo Exp$";20 static char rcsid[] = "$Id: bit-lp.c,v 1.5 1998/09/28 06:45:38 i2c Exp i2c $"; 21 21 /* ------------------------------------------------------------------------- */ 22 22 … … 152 152 MODULE_PARM(base, "i"); 153 153 154 #ifndef LM_SENSORS 155 EXPORT_NO_SYMBOLS; 156 #endif 157 154 158 int init_module(void) 155 159 { -
lm-sensors/trunk/i2c/i2c-core.c
r20 r21 18 18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 19 19 /* ------------------------------------------------------------------------- */ 20 #define RCSID "$Id: i2c -core.c,v 1.5 1998/12/01 21:11:32 frodo Exp$"20 #define RCSID "$Id: i2c.c,v 1.7 1998/09/28 06:45:38 i2c Exp i2c $" 21 21 /* ------------------------------------------------------------------------- */ 22 22 … … 174 174 * must be deleted, as this would cause invalid states. 175 175 */ 176 /* i2c_detach_client(client); */ 176 177 client->driver->detach_client(client); 177 178 } … … 249 250 DEB2(printk("i2c: detaching client %s:\n", 250 251 client->name)); 251 /* i2c_detach_client(client);*/252 /*i2c_detach_client(client);*/ 252 253 driver->detach_client(client); 253 254 } … … 446 447 447 448 449 448 450 #ifdef MODULE 449 451 MODULE_AUTHOR("Simon G. Vogl <simon@tk.uni-linz.ac.at>"); … … 452 454 MODULE_PARM_DESC(i2c_debug,"debug level"); 453 455 456 #ifndef LM_SENSORS 457 EXPORT_SYMBOL(i2c_add_algorithm); 458 EXPORT_SYMBOL(i2c_del_algorithm); 459 EXPORT_SYMBOL(i2c_add_adapter); 460 EXPORT_SYMBOL(i2c_del_adapter); 461 EXPORT_SYMBOL(i2c_add_driver); 462 EXPORT_SYMBOL(i2c_del_driver); 463 EXPORT_SYMBOL(i2c_attach_client); 464 EXPORT_SYMBOL(i2c_detach_client); 465 466 EXPORT_SYMBOL(i2c_master_send); 467 EXPORT_SYMBOL(i2c_master_recv); 468 EXPORT_SYMBOL(i2c_control); 469 EXPORT_SYMBOL(i2c_transfer); 470 #endif 471 472 454 473 int init_module(void) 455 474 { -
lm-sensors/trunk/i2c/i2c-dev.c
r8 r21 18 18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ 19 19 /* ------------------------------------------------------------------------- */ 20 #define RCSID "$Id: i2c-dev.c,v 1. 1 1998/11/02 20:29:27 frodo Exp$"20 #define RCSID "$Id: i2c-dev.c,v 1.6 1998/09/28 06:45:38 i2c Exp i2c $" 21 21 /* ------------------------------------------------------------------------- */ 22 22 … … 338 338 MODULE_DESCRIPTION("I2C-Bus character device interface"); 339 339 340 #ifndef LM_SENSORS 341 EXPORT_NO_SYMBOLS; 342 #endif 343 340 344 int init_module(void) 341 345 {
