Re: Missing main function

Niamathullah sharief <[email protected]>
Newsgroups gmane.comp.video.video4linux,gmane.linux.kernel.kernelnewbies
Message-ID <[email protected]>
No actually i disabled the entire "gspca" in kernel config before compiling
the kernel. The folder contains

* conex.c**
*
*etoms.c*
*finepix.c*
*gspca.c*
*gspca.h*
*jpeg.h*
*Kconfig*
*Makefile*
*mars.c*
*mr97310a.c*
*ov519.c*
*ov534.c*
*pac207.c*
*pac3711.c*
*pac_common.h*
*sonixb.c*
*sonixj.c*
*spca500.c*
*spca501.c*
*spca505.c*
*spca506.c*
*spca508.c*
*spca561.c*
*sq905.c*
*sq905c.c*
*stk014.c*
*sunplus.c*
*t613.c*
*tv8532.c*
*vc032x.c*
*zc3xx.c*
*zc3xx-reg.h*

  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 <
[email protected]> 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:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.