[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48395491.F1myL99mt3@wuerfel>
Date: Wed, 16 Nov 2016 18:07:13 +0100
From: Arnd Bergmann <arnd@...db.de>
To: linuxppc-dev@...ts.ozlabs.org
Cc: Sudeep Holla <sudeep.holla@....com>, Scott Wood <oss@...error.net>,
Yangbo Lu <yangbo.lu@....com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] soc: fsl: fix section mismatch build warnings
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
Powered by blists - more mailing lists