Thread (7 messages) flat view 7 messages, 2 authors, 2012-09-05

[PATCH v3 2/4] misc: Generic on-chip SRAM allocation driver

From: Shawn Guo <hidden>
Date: 2012-09-05 04:03:19
Also in: linux-devicetree, lkml

On Mon, Sep 03, 2012 at 06:02:06PM +0200, Philipp Zabel wrote:
+static struct platform_driver sram_driver = {
+	.driver = {
+		.name = "sram",
+		.of_match_table = of_match_ptr(sram_dt_ids),
+	},
+	.probe = sram_probe,
+	.remove = __devexit_p(sram_remove),
+};
+
+module_platform_driver(sram_driver);
I think we'd better make it a postcore_initcall time driver, so that
it can be ensured that when the client drivers call gen_pool_* API
the pool has been created by sram_driver. 

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