From 392e3acb3f4421e5b0b62c5b427fe4d0eeec9bc2 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 7 Dec 2001 22:23:54 +0000 Subject: [PATCH] fixes for 2.2 compile --- Makefile.modbuild | 1 + comedi/comedi_fops.c | 1 + comedi/rt.c | 2 +- include/linux/comedidev.h | 1 + include/linux/init.h | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.modbuild b/Makefile.modbuild index 0635a1f4..86b51f13 100644 --- a/Makefile.modbuild +++ b/Makefile.modbuild @@ -68,6 +68,7 @@ config: dummy $(CONFIG_SHELL) ./configure modules_install: $(patsubst %, _modinst_%, $(SUBDIRS)) + depmod -a _modinst_%: $(MAKE) -C $(patsubst _modinst_%, %, $@) modules_install diff --git a/comedi/comedi_fops.c b/comedi/comedi_fops.c index 6806178a..cea8feec 100644 --- a/comedi/comedi_fops.c +++ b/comedi/comedi_fops.c @@ -35,6 +35,7 @@ #include #include #include +#include #include diff --git a/comedi/rt.c b/comedi/rt.c index 4ca63814..59ae543a 100644 --- a/comedi/rt.c +++ b/comedi/rt.c @@ -36,7 +36,7 @@ #include #include -#include "rt_pend_tq/rt_pend_tq.h" +#include "rt_pend_tq.h" #ifdef CONFIG_COMEDI_RTAI #include diff --git a/include/linux/comedidev.h b/include/linux/comedidev.h index 61819fde..0a89dde2 100644 --- a/include/linux/comedidev.h +++ b/include/linux/comedidev.h @@ -32,6 +32,7 @@ #include #include #include +#include #include diff --git a/include/linux/init.h b/include/linux/init.h index 5ada737b..0fe3fe0d 100644 --- a/include/linux/init.h +++ b/include/linux/init.h @@ -9,6 +9,7 @@ #if LINUX_VERSION_CODE < 0x020400 #define __devinitdata __initdata +#define __exit #endif #include_next -- 2.26.2