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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/