Changeset 3371
- Timestamp:
- 09/13/99 21:19:16 (14 years ago)
- Location:
- i2c/trunk/kernel
- Files:
-
- 9 modified
-
i2c-algo-bit.c (modified) (1 diff)
-
i2c-algo-pcf.c (modified) (1 diff)
-
i2c-core.c (modified) (1 diff)
-
i2c-dev.c (modified) (1 diff)
-
i2c-elektor.c (modified) (1 diff)
-
i2c-elv.c (modified) (1 diff)
-
i2c-philips-par.c (modified) (1 diff)
-
i2c-velleman.c (modified) (1 diff)
-
i2c.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
i2c/trunk/kernel/i2c-algo-bit.c
r3364 r3371 42 42 #else 43 43 # include <asm/segment.h> 44 #endif 45 46 /* 2.0.0 kernel compatibility */ 47 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 48 #define MODULE_AUTHOR(noone) 49 #define MODULE_DESCRIPTION(none) 50 #define MODULE_PARM(no,param) 51 #define MODULE_PARM_DESC(no,description) 52 #define EXPORT_SYMBOL(noexport) 53 #define EXPORT_NO_SYMBOLS 44 54 #endif 45 55 -
i2c/trunk/kernel/i2c-algo-pcf.c
r3351 r3371 45 45 #include <linux/errno.h> 46 46 #include <linux/sched.h> 47 48 /* 2.0.0 kernel compatibility */ 49 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 50 #define MODULE_AUTHOR(noone) 51 #define MODULE_DESCRIPTION(none) 52 #define MODULE_PARM(no,param) 53 #define MODULE_PARM_DESC(no,description) 54 #define EXPORT_SYMBOL(noexport) 55 #define EXPORT_NO_SYMBOLS 56 #endif 57 47 58 48 59 #include "i2c.h" -
i2c/trunk/kernel/i2c-core.c
r3366 r3371 33 33 34 34 /* ----- compatibility stuff ----------------------------------------------- */ 35 36 /* 2.0.0 kernel compatibility */ 37 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 38 #define MODULE_AUTHOR(noone) 39 #define MODULE_DESCRIPTION(none) 40 #define MODULE_PARM(no,param) 41 #define MODULE_PARM_DESC(no,description) 42 #define EXPORT_SYMBOL(noexport) 43 #define EXPORT_NO_SYMBOLS 44 #endif 35 45 36 46 #include <linux/version.h> -
i2c/trunk/kernel/i2c-dev.c
r3351 r3371 52 52 #endif 53 53 54 /* 2.0.0 kernel compatibility */ 55 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 56 #define MODULE_AUTHOR(noone) 57 #define MODULE_DESCRIPTION(none) 58 #define MODULE_PARM(no,param) 59 #define MODULE_PARM_DESC(no,description) 60 #define EXPORT_SYMBOL(noexport) 61 #define EXPORT_NO_SYMBOLS 62 #endif 54 63 55 64 #include "i2c.h" -
i2c/trunk/kernel/i2c-elektor.c
r3346 r3371 36 36 #include <asm/irq.h> 37 37 #include <asm/io.h> 38 39 /* 2.0.0 kernel compatibility */ 40 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 41 #define MODULE_AUTHOR(noone) 42 #define MODULE_DESCRIPTION(none) 43 #define MODULE_PARM(no,param) 44 #define MODULE_PARM_DESC(no,description) 45 #define EXPORT_SYMBOL(noexport) 46 #define EXPORT_NO_SYMBOLS 47 #endif 38 48 39 49 #include "i2c.h" -
i2c/trunk/kernel/i2c-elv.c
r3346 r3371 33 33 #else 34 34 #define __init 35 #endif 36 37 /* 2.0.0 kernel compatibility */ 38 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 39 #define MODULE_AUTHOR(noone) 40 #define MODULE_DESCRIPTION(none) 41 #define MODULE_PARM(no,param) 42 #define MODULE_PARM_DESC(no,description) 43 #define EXPORT_SYMBOL(noexport) 44 #define EXPORT_NO_SYMBOLS 35 45 #endif 36 46 -
i2c/trunk/kernel/i2c-philips-par.c
r3346 r3371 34 34 #include <asm/io.h> 35 35 #include <linux/stddef.h> 36 37 /* 2.0.0 kernel compatibility */ 38 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 39 #define MODULE_AUTHOR(noone) 40 #define MODULE_DESCRIPTION(none) 41 #define MODULE_PARM(no,param) 42 #define MODULE_PARM_DESC(no,description) 43 #define EXPORT_SYMBOL(noexport) 44 #define EXPORT_NO_SYMBOLS 45 #endif 36 46 37 47 #include "i2c.h" -
i2c/trunk/kernel/i2c-velleman.c
r3346 r3371 32 32 #include <asm/errno.h> /* for 2.0 kernels to get ENODEV */ 33 33 #include <asm/io.h> 34 35 /* 2.0.0 kernel compatibility */ 36 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0) 37 #define MODULE_AUTHOR(noone) 38 #define MODULE_DESCRIPTION(none) 39 #define MODULE_PARM(no,param) 40 #define MODULE_PARM_DESC(no,description) 41 #define EXPORT_SYMBOL(noexport) 42 #define EXPORT_NO_SYMBOLS 43 #endif 34 44 35 45 #include "i2c.h" -
i2c/trunk/kernel/i2c.h
r3357 r3371 507 507 #ifdef __KERNEL__ 508 508 509 # if LINUX_VERSION_CODE < KERNEL_VERSION(2,1,0)510 /* Hack to make this thing compile under 2.0.xx kernels511 */512 513 # ifdef MODULE514 # define MODULE_AUTHOR(noone)515 # define MODULE_DESCRIPTION(none)516 # define MODULE_PARM(no,param)517 # define MODULE_PARM_DESC(no,description)518 # define EXPORT_SYMBOL(noexport)519 # define EXPORT_NO_SYMBOLS520 # endif521 522 509 # ifndef NULL 523 510 # define NULL ( (void *) 0 ) 524 511 # endif 525 #endif526 512 527 513 # ifndef ENODEV
