From: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
To: "Irfan Ullah (울라 이르판)" <irfan@dke.khu.ac.kr>
Cc: Linux Kernel List <kernelnewbies@kernelnewbies.org>
Subject: Re: Kernel Module with multiple source files not initializing
Date: Mon, 28 Oct 2019 11:04:36 +0100 [thread overview]
Message-ID: <5618f530-c562-542d-0130-328b6d604e87@petrovitsch.priv.at> (raw)
In-Reply-To: <CA+mB8Ox43oYwVbOKK4ifBJj13YNkgwhkD8-Nw1rFoSG5V+sVpQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 635 bytes --]
On 28/10/2019 10:43, Irfan Ullah (울라 이르판) wrote:
> Thanks for the help. I have removed the "static" from the hello_init,
> hello_exti but nothing worked. I am not sure, but I think the problem is
> with the make file.
OK, when I add "static" to my driver, it works too. Sry for the confusion.
I have also __init with the init function and __exit with the
exit function.
MfG,
Bernd
--
"I dislike type abstraction if it has no real reason. And saving
on typing is not a good reason - if your typing speed is the main
issue when you're coding, you're doing something seriously wrong."
- Linus Torvalds
[-- Attachment #2: pEpkey.asc --]
[-- Type: application/pgp-keys, Size: 2513 bytes --]
[-- Attachment #3: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next prev parent reply other threads:[~2019-10-28 10:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-25 9:14 Kernel Module with multiple source files not initializing Irfan Ullah (울라 이르판)
2019-10-25 16:15 ` Abu Rasheda
2019-10-27 7:11 ` Irfan Ullah (울라 이르판)
2019-10-27 8:43 ` Bernd Petrovitsch
2019-10-28 9:43 ` Irfan Ullah (울라 이르판)
2019-10-28 10:04 ` Bernd Petrovitsch [this message]
2019-10-29 8:30 ` Irfan Ullah (울라 이르판)
2019-11-05 16:52 ` Aruna Hewapathirane
2019-11-07 1:50 ` Irfan Ullah (울라 이르판)
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=5618f530-c562-542d-0130-328b6d604e87@petrovitsch.priv.at \
--to=bernd@petrovitsch.priv.at \
--cc=irfan@dke.khu.ac.kr \
--cc=kernelnewbies@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).