Changeset 1457
- Timestamp:
- 07/15/02 12:08:40 (11 years ago)
- Location:
- lm-sensors/trunk/kernel/chips
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/kernel/chips/ds1307.c
r1433 r1457 318 318 static void ds1307_inc_use (struct i2c_client *client) 319 319 { 320 #ifdef MODULE 320 321 MOD_INC_USE_COUNT; 322 #endif /* #ifdef MODULE */ 321 323 } 322 324 323 325 static void ds1307_dec_use (struct i2c_client *client) 324 326 { 327 #ifdef MODULE 325 328 MOD_DEC_USE_COUNT; 329 #endif /* #ifdef MODULE */ 326 330 } 327 331 … … 349 353 } 350 354 355 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) 356 #undef __exit 357 #define __exit 358 #endif /* #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) */ 359 351 360 static void __exit ds1307_exit (void) 352 361 { -
lm-sensors/trunk/kernel/chips/lm92.c
r1448 r1457 407 407 } 408 408 409 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) 410 #undef __exit 411 #define __exit 412 #endif /* #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) */ 413 409 414 static void __exit sensors_lm92_exit (void) 410 415 {
