Re: [PATCH] net: emaclite: include linux/of_irq.h

2013-06-04 Thread Michal Simek
On 06/04/2013 10:44 AM, Arnd Bergmann wrote: > On Tuesday 04 June 2013 10:21:01 Michal Simek wrote: >> On 06/03/2013 11:39 PM, Arnd Bergmann wrote: >>> The emaclite driver now calls of_irq_to_resource, which is >>> declared in linux/of_irq.h. Without this patch, I get a build >>> error on ARM. >> >

Re: [PATCH] net: emaclite: include linux/of_irq.h

2013-06-04 Thread Arnd Bergmann
On Tuesday 04 June 2013 10:21:01 Michal Simek wrote: > On 06/03/2013 11:39 PM, Arnd Bergmann wrote: > > The emaclite driver now calls of_irq_to_resource, which is > > declared in linux/of_irq.h. Without this patch, I get a build > > error on ARM. > > What about to just change it to use platform_ge

Re: [PATCH] net: emaclite: include linux/of_irq.h

2013-06-04 Thread Michal Simek
On 06/03/2013 11:39 PM, Arnd Bergmann wrote: > The emaclite driver now calls of_irq_to_resource, which is > declared in linux/of_irq.h. Without this patch, I get a build > error on ARM. What about to just change it to use platform_get_resource()? I will test it. Thanks, Michal -- Michal Simek,

[PATCH] net: emaclite: include linux/of_irq.h

2013-06-03 Thread Arnd Bergmann
The emaclite driver now calls of_irq_to_resource, which is declared in linux/of_irq.h. Without this patch, I get a build error on ARM. Signed-off-by: Arnd Bergmann Cc: Michal Simek diff --git a/drivers/net/ethernet/xilinx/xilinx_emaclite.c b/drivers/net/ethernet/xilinx/xilinx_emaclite.c index