Web lists-archives.com

Re: Missing main function

No actually i disabled the entire "gspca" in kernel config before compiling
the kernel. The folder contains

* conex.c**

  This are the files in that folder which i disabled. In this gspca.c
program the main function is missing.

On Tue, Sep 15, 2009 at 9:45 PM, Michael Blizek <
michi1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

> Hi!
> On 13:39 Tue 15 Sep     , Niamathullah sharief wrote:
> > Hi friends,
> >    I am having the video drivers..ie "gspca.c, v4l1.compat.c,
> v4l2-device.c,
> > v4l2-ioctl.c,v4l2-dev.c".
> >    When i tried to read all this programs but i didn't find main function
> in
> > any programs.
> >    I don't know how this programs works. From where is the main function
> for
> > this programs.
> >    I took this drivers from Version 2.6.30 kernel. Kindly help me.
> You might be looking for "module_init". It defines a function which is
> executed on kernel boot or module load time.
>        -Michi
> --
> programing a layer 3+4 network protocol for mesh networks
> see http://michaelblizek.twilightparadox.com
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe