From: Ajith Raj <ajith.raj@broadcom.com>
To: linux-media@vger.kernel.org
Cc: g.liakhovetski@gmx.de, mchehab@kernel.org
Subject: [Camera Driver] Building as Static v/s Dynamic module
Date: Mon, 26 Sep 2016 14:39:06 +0530 [thread overview]
Message-ID: <3461d4fdf32e5b3a645419f0f3b1eb5b@mail.gmail.com> (raw)
In-Reply-To: f720c5ea1417467d9af6f214bfb0462f@mail.gmail.com
Hi Maintainers,
I was working on a CPI based camera driver based on soc_camera framework
which is compiled as a static module in kernel, due to the non-availability
of modprobe framework.
While I was pushing the changes, I got a question from the internel code
review that why the driver is being compiled as static while all other
drivers available in the open source are compiled as dynamic .ko modules.
I understand that camera as a component need not have to be built static and
can be added later on the need basis. Is there any reason apart from this?
Since the modprobe framework is not available, if I build it as dynamic .ko
module, I need to insert all dependent modules independently and in the
right order. There are many;
videobuf2-dma-contig.ko, videobuf2-v4l2.ko, videobuf2-memops.ko,
videobuf2-vmalloc.ko, …..etc
v4l2-common.ko, v4l2-mem2mem.ko, v4l2-dv-timings.ko
soc_mediabus.ko,soc_camera.ko ,……etc
media.ko, videodev.ko
Do you see any issues in submitting camera as a static module?
Or it has to be dynamic? If so, could you please help me understand the
reasons.
Thanks in advance.
Regards,
Ajith
next parent reply other threads:[~2016-09-26 9:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <0afd07b4dc410140902808df6b909507@mail.gmail.com>
2016-09-26 9:09 ` Ajith Raj [this message]
2016-09-26 9:28 ` [Camera Driver] Building as Static v/s Dynamic module Mauro Carvalho Chehab
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3461d4fdf32e5b3a645419f0f3b1eb5b@mail.gmail.com \
--to=ajith.raj@broadcom.com \
--cc=g.liakhovetski@gmx.de \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox