From 2ee7b6ee65879b3c290a943112195a1a16c8c82e Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 9 Feb 2000 06:57:34 +0000 Subject: [PATCH] ksyms needed for kcomedilib --- Makefile | 4 ++-- comedi/comedi_ksyms.c | 7 +++++++ comedi/comedi_module.h | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index baba3c4e..f2f131c1 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,8 @@ VERS3 = 38 INSTALLDIR=/usr -#LINUXDIR = /usr/src/linux -LINUXDIR = /d/ds/cvs/rtl/linux22 +LINUXDIR = /usr/src/linux +#LINUXDIR = /d/ds/cvs/rtl/linux22 #LINUXDIR = /d/ds/cvs/linux22 # define the following if you want to compile using RTL diff --git a/comedi/comedi_ksyms.c b/comedi/comedi_ksyms.c index 36cdea77..751447ed 100644 --- a/comedi/comedi_ksyms.c +++ b/comedi/comedi_ksyms.c @@ -55,6 +55,8 @@ EXPORT_SYMBOL(comedi_unlock_ioctl); EXPORT_SYMBOL(comedi_cancel_ioctl); EXPORT_SYMBOL(comedi_register_callback); #endif + +/* for drivers */ EXPORT_SYMBOL(comedi_driver_register); EXPORT_SYMBOL(comedi_driver_unregister); EXPORT_SYMBOL(comedi_bufcheck); @@ -65,6 +67,11 @@ EXPORT_SYMBOL(di_unpack); EXPORT_SYMBOL(comedi_eobuf); EXPORT_SYMBOL(comedi_eos); +/* for kcomedilib */ +EXPORT_SYMBOL(comedi_devices); +EXPORT_SYMBOL(rtcomedi_lock_semaphore); +EXPORT_SYMBOL(check_chanlist); + #endif diff --git a/comedi/comedi_module.h b/comedi/comedi_module.h index 09291abc..53db6b8f 100644 --- a/comedi/comedi_module.h +++ b/comedi/comedi_module.h @@ -235,6 +235,8 @@ void comedi_free_irq(unsigned int irq,void *dev_id); int do_rangeinfo_ioctl(comedi_device *dev,comedi_rangeinfo *arg); int check_chanlist(comedi_subdevice *s,int n,unsigned int *chanlist); +extern int rtcomedi_lock_semaphore; + /* range stuff */ #include @@ -279,10 +281,8 @@ static inline int alloc_private(comedi_device *dev,int size) #ifdef LINUX_V20 -#ifdef CONFIG_EXPORT extern struct symbol_table comedi_syms; #endif -#endif #endif /* _COMEDI_MODULE_H */ -- 2.26.2