Thread (6 messages) flat view 6 messages, 2 authors, 2016-11-17

Re: [PATCH 2/2] soc: fsl: fix section mismatch build warnings

From: Sudeep Holla <hidden>
Date: 2016-11-16 17:10:42
Also in: lkml


On 16/11/16 17:07, Arnd Bergmann wrote:
On Wednesday, November 16, 2016 4:39:27 PM CET Sudeep Holla wrote:
quoted
@@ -223,6 +222,7 @@ static struct platform_driver fsl_guts_driver = {

 static int __init fsl_guts_init(void)
 {
+       machine = of_flat_dt_get_machine_name();
        return platform_driver_register(&fsl_guts_driver);
 }
 core_initcall(fsl_guts_init);
I think we simply need to use the normal DT API rather than the of_flat_* one.
I thought so, yes that will be better. I will respin accordingly.

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