lkml.org 
[lkml]   [2016]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/2] soc: fsl: fix section mismatch build warnings
Date
On Wednesday, November 16, 2016 4:39:27 PM CET Sudeep Holla wrote:
> @@ -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.

Arnd

\
 
 \ /
  Last update: 2016-11-16 18:08    [W:0.099 / U:2.756 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site