From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Driver as built-in instead of module
Date: Fri, 16 Mar 2018 09:21:00 +0100 [thread overview]
Message-ID: <20180316082100.GA4101@kroah.com> (raw)
In-Reply-To: <1622dccca72.acc992e8118.5664081071568038926@iqroottech.com>
On Fri, Mar 16, 2018 at 01:23:38PM +0530, MUHAMMED ASAD P T wrote:
> Hi,
>
>
>
> We need to add the driver as 'built in' in kernel. We had changed in kernel configuration for our custom driver. But, when the kernel is booted up, it is not calling the driver. what are the necessary steps to do this built-in to Kernel?
You just built it into the kernel image.
To start with, how are you building your kernel image? Is your driver
build "separate"? If so, that will not work as the kernel image has to
be built at the same time as your driver for that to work.
Do you have a pointer to the source of your driver anywhere to see if it
even can be built into the kernel?
thanks,
greg k-h
next prev parent reply other threads:[~2018-03-16 8:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-16 7:53 Driver as built-in instead of module MUHAMMED ASAD P T
2018-03-16 8:21 ` Greg KH [this message]
2018-03-16 11:18 ` MUHAMMED ASAD P T
2018-03-16 11:35 ` Greg KH
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=20180316082100.GA4101@kroah.com \
--to=greg@kroah.com \
--cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).