Re: [GATOS]a small diff for automaticaly loading videodev & km_api_drv
Status: Beta
Brought to you by:
volodya
From: Vladimir D. <vo...@mi...> - 2003-01-31 15:07:23
|
Thanks !! I am away on a business trip - I'll apply it as soon as I get back. best Vladimir Dergachev On Fri, 31 Jan 2003, Svetoslav Slavtchev wrote: > hi , > could you apply this diff ? > > best, > > svetljo > > ############################ > diff -Naur km.old/km_api.c km/km_api.c > --- km.old/km_api.c 2003-01-27 19:18:00.000000000 +0100 > +++ km/km_api.c 2003-01-31 12:23:59.000000000 +0100 > @@ -18,6 +18,7 @@ > #include <linux/config.h> > #include <linux/version.h> > #include <linux/module.h> > +#include <linux/kmod.h> > #include <linux/kernel.h> > #include <linux/sched.h> > #include <linux/init.h> > @@ -469,6 +470,8 @@ > > printk("Kmultimedia API module version %s loaded\n", KM_API_VERSION); > > +request_module("videodev"); > + > return 0; > } > > diff -Naur km.old/km.c km/km.c > --- km.old/km.c 2003-01-30 18:36:07.000000000 +0100 > +++ km/km.c 2003-01-31 12:23:08.000000000 +0100 > @@ -18,6 +18,7 @@ > #include <linux/config.h> > #include <linux/version.h> > #include <linux/module.h> > +#include <linux/kmod.h> > #include <linux/kernel.h> > #include <linux/sched.h> > #include <linux/init.h> > @@ -849,6 +850,9 @@ > } > } > if(result<0)printk("km: **** no supported devices found ****\n"); > + > +request_module("km_api_drv"); > + > return result; > } > > > |