On Thu, 18 Apr 2013, Arnd Bergmann wrote: > On Thursday 18 April 2013, Lee Jones wrote: > > The DMA40 controller uses two sets of base addresses. In order to have > > them automatically setup as resources by the Open Format framework we > > have to set names for them. The names have to be the same as the ones > > used to fetch them back out of the resource structure. > > > > Signed-off-by: Lee Jones <lee.jo...@linaro.org> > > Typo: s/Open Format/Open Firmware/ > > To be more specific, just write of_platform framework. Note that we > still get resources without passing the names, they are just not > named in that case and have to be retrieved by index.
Changed to: The DMA40 controller uses two sets of base addresses. In order to have the resources setup by the of_platform framework so they are searchable by name instead of index, we have to set names for them. The names have to be the same as the ones used to fetch them back out of the resource structure. > You should also document the strings in the binding document. Done. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- 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/