[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1392808616.496953530@f415.i.mail.ru>
Date: Wed, 19 Feb 2014 15:16:56 +0400
From: Alexander Shiyan <shc_work@...l.ru>
To: Michal Simek <michal.simek@...inx.com>,
Michal Simek <monstr@...str.eu>,
Samuel Ortiz <sameo@...ux.intel.com>,
Arnd Bergmann <arnd@...db.de>,
linux-kernel@...r.kernel.org,
Lee Jones <lee.jones@...aro.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [RFC PATCH v2 1/2] mfd: syscon: Support early initialization
Среда, 19 февраля 2014, 15:14 +04:00 от Alexander Shiyan <shc_work@...l.ru>:
> Среда, 19 февраля 2014, 12:04 +01:00 от Michal Simek <michal.simek@...inx.com>:
> > Some platforms need to get system controller
> > ready as soon as possible.
> > The patch provides early_syscon_initialization
> > which create early mapping for all syscon compatible
> > devices in early_syscon_probe.
> > Regmap is get via syscon_early_regmap_lookup_by_phandle()
> >
> > Regular device probes attach device to regmap
> > via regmap_attach_dev().
> >
> > For early syscon initialization is necessary to extend
> > struct syscon and provide remove function
> > which unmap all early init structures.
> >
> > Signed-off-by: Michal Simek <michal.simek@...inx.com>
> > ---
> ...
>
> > +static struct of_device_id of_syscon_ids[] = {
> > + { .compatible = "syscon" },
> > + {},
> > };
>
> You should move syscon_ids out of #ifdef CONFIG_OF
Oh, confused, sorry for noise.
---
Powered by blists - more mailing lists