Re: Re[6]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-19 Thread Dong Aisheng
On 19 February 2013 18:54, Alexander Shiyan wrote: > ... >> >> >> >> struct regmap *syscon_regmap_lookup_by_compatible(const char *s) >> >> >> >> { >> >> >> >> struct device_node *syscon_np; >> >> >> >> struct regmap *regmap; >> >> >> >> + struct syscon *syscon; >> >> >> >> +

Re[6]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-19 Thread Alexander Shiyan
... > >> >> >> struct regmap *syscon_regmap_lookup_by_compatible(const char *s) > >> >> >> { > >> >> >> struct device_node *syscon_np; > >> >> >> struct regmap *regmap; > >> >> >> + struct syscon *syscon; > >> >> >> + struct device *dev; > >> >> >> > >> >> >> syscon_np

Re[6]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-19 Thread Alexander Shiyan
... struct regmap *syscon_regmap_lookup_by_compatible(const char *s) { struct device_node *syscon_np; struct regmap *regmap; + struct syscon *syscon; + struct device *dev; syscon_np = of_find_compatible_node(NULL, NULL, s); - if

Re: Re[6]: [PATCH v3] mfd: syscon: Add non-DT support

2013-02-19 Thread Dong Aisheng
On 19 February 2013 18:54, Alexander Shiyan shc_w...@mail.ru wrote: ... struct regmap *syscon_regmap_lookup_by_compatible(const char *s) { struct device_node *syscon_np; struct regmap *regmap; + struct syscon *syscon; + struct device *dev;