Re: [RFC 6/7] bcma: get sprom from devicetree

2014-08-25 Thread Arnd Bergmann
On Sunday 24 August 2014 23:24:44 Hauke Mehrtens wrote: +#ifdef CONFIG_OF +static int bcma_fill_sprom_with_dt(struct bcma_bus *bus, + struct ssb_sprom *out) +{ + const __be32 *handle; + struct device_node *sprom_node; + struct

[RFC 6/7] bcma: get sprom from devicetree

2014-08-24 Thread Hauke Mehrtens
This patch make it possible to device an sprom provider in device tree and get the sprom from this driver. Every time there is such a provider it gets asked for a sprom. Signed-off-by: Hauke Mehrtens ha...@hauke-m.de --- drivers/bcma/sprom.c | 51