From: Pascal FONTAIN <Pascal.FONTAIN@bachmann.info>
To: <linux-kernel@vger.kernel.org>, Arnd Bergmann <arnd@arndb.de>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>
Cc: <afd@ti.com>, Pascal Fontain <pascal.fontain@bachmann.info>
Subject: [PATCH v3 1/2] misc: sram: Move probe of sram subsystem
Date: Tue, 9 Apr 2024 14:06:04 +0200 [thread overview]
Message-ID: <20240409120605.4138472-2-Pascal.FONTAIN@bachmann.info> (raw)
In-Reply-To: <20240409120605.4138472-1-Pascal.FONTAIN@bachmann.info>
From: Pascal Fontain <pascal.fontain@bachmann.info>
The sram subsystem might use the dma-buf subsystem which only gets
initialized in subsys_initcall phase. Because of this we move the sram
initcall into the device phase.
Signed-off-by: Pascal Fontain <pascal.fontain@bachmann.info>
---
drivers/misc/sram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/sram.c b/drivers/misc/sram.c
index e248c0a8882f..632f90d9bcea 100644
--- a/drivers/misc/sram.c
+++ b/drivers/misc/sram.c
@@ -461,4 +461,4 @@ static int __init sram_init(void)
return platform_driver_register(&sram_driver);
}
-postcore_initcall(sram_init);
+device_initcall(sram_init);
--
2.39.2
next prev parent reply other threads:[~2024-04-09 12:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-09 12:06 [PATCH v3 0/2] misc: sram: Add DMA-BUF Heap exporting of SRAM areas Pascal FONTAIN
2024-04-09 12:06 ` Pascal FONTAIN [this message]
2024-04-09 12:10 ` [PATCH v3 1/2] misc: sram: Move probe of sram subsystem Arnd Bergmann
2024-04-09 12:06 ` [PATCH v3 2/2] misc: sram: Add DMA-BUF Heap exporting of SRAM areas Pascal FONTAIN
2024-04-09 12:14 ` Greg Kroah-Hartman
2024-04-19 16:57 ` Christian Gmeiner
2024-04-20 6:36 ` Greg Kroah-Hartman
2024-04-09 14:38 ` Andrew Davis
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=20240409120605.4138472-2-Pascal.FONTAIN@bachmann.info \
--to=pascal.fontain@bachmann.info \
--cc=afd@ti.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®