From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: Ryan Hope <rmh3093@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Help writing kernel module...
Date: Thu, 14 Aug 2008 14:02:07 -0400 [thread overview]
Message-ID: <20080814180207.GC12476@csclub.uwaterloo.ca> (raw)
In-Reply-To: <48f7fe350808141100h3f368a53kb371e4cefea3e70@mail.gmail.com>
On Thu, Aug 14, 2008 at 02:00:26PM -0400, Ryan Hope wrote:
> I can't find any information on how to make a kernel module load
> another module. Can someone please tell me how to do this? Thanks in
> advance.
Use a symbol exported by that other module and your module should
automatically depend on that module and modprobe will nicely load it
before your module for you.
--
Len Sorensen
next prev parent reply other threads:[~2008-08-14 18:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-14 18:00 Ryan Hope
2008-08-14 18:02 ` Lennart Sorensen [this message]
2008-08-14 19:01 ` Ryan Hope
2008-08-14 19:44 ` Lennart Sorensen
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=20080814180207.GC12476@csclub.uwaterloo.ca \
--to=lsorense@csclub.uwaterloo.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=rmh3093@gmail.com \
/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
all inboxes | Powered by JetHome®