Thread (24 messages) 24 messages, 2 authors, 2021-01-13

Re: [PATCH 5/6 v2] sound: Add n64 driver

From: Lauri Kasanen <hidden>
Date: 2021-01-08 10:14:28

On Fri, 08 Jan 2021 10:06:48 +0100
Takashi Iwai [off-list ref] wrote:
quoted
+static int __init n64audio_probe(struct platform_device *pdev)
Usually the probe callback itself shouldn't be __init.
quoted
+fs_initcall(n64audio_init);
Does it have to be this initcall?
It could be module init instead, nothing specific in fs_initcall. It's
__init because it can only be compiled in, and removing that run-once
code saves RAM. The target only has 8mb RAM.

- Lauri
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help