[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2240834.ApHHSrFxQG@wuerfel>
Date: Tue, 04 Jun 2013 10:44:36 +0200
From: Arnd Bergmann <arnd@...db.de>
To: monstr@...str.eu
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
David Miller <davem@...emloft.net>,
Michal Simek <michal.simek@...inx.com>
Subject: Re: [PATCH] net: emaclite: include linux/of_irq.h
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_get_resource()?
> I will test it.
Yes, that would work too. It seems the driver predates the automatic
generation of resources for IRQs and MMIO registers.
If you change the IRQ resource to platform_get_resource, you should
change the other one as well.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists