Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
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
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

  reply index

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-25  9:14 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 publically 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

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git