From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-gx0-f212.google.com ([209.85.217.212]:64886 "EHLO mail-gx0-f212.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758928AbZKKUuj (ORCPT ); Wed, 11 Nov 2009 15:50:39 -0500 Received: by gxk4 with SMTP id 4so1942372gxk.8 for ; Wed, 11 Nov 2009 12:50:45 -0800 (PST) Message-ID: <4AFB23A2.3070702@gmail.com> Date: Wed, 11 Nov 2009 21:50:42 +0100 From: Ryan Raasch MIME-Version: 1.0 To: Carlos Lavin , v4l2_linux Subject: Re: module ov7670.c References: <4AFA97A0.10908@gmail.com> <4AFAAB44.1000001@gmail.com> In-Reply-To: <4AFAAB44.1000001@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Ryan Raasch wrote: > > > Carlos Lavin wrote: >> i am asking that if it is possible to start a module without >> MODULE_INIT function in the body of program. >> > It looks as though all drivers that use v4l2_i2c_driver_data DO NOT use > the module_init function. > > According to commit 14386c2b7793652a656021a3345cff3b0f6771f9, > v4l2_subdev is used instead. However, this is different for me also. > > > Ryan > Ok. I was curious myself, so i looked how it works. The file v4l2-i2c-drv.h has the module_init() code. So when this header file is included, you get the initialization code for free. >> >> 2009/11/11 Ryan Raasch > > >> >> >> >> Carlos Lavin wrote: >> >> i don't know that it pass with this module, ov7670.c , because i >> don't see >> in the screen of my Pc this modulo when the kernel is load. this >> module >> haven't the module_init function , and i don't know if it is >> possible to >> run it without this function. the version kernel where i work is >> 2.6.30, >> also i have patched this modulo for works with the library >> soc_camera.h >> can anybody help me? I am rookie in this topics. >> thanks. >> -- >> >> What are you asking? >> >> Ryan >> >> video4linux-list mailing list >> Unsubscribe mailto:video4linux-list-request@redhat.com >> ?subject=unsubscribe >> https://www.redhat.com/mailman/listinfo/video4linux-list >> >>