On Fri, Aug 9, 2019 at 1:32 PM Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx> wrote: > On 8/8/19 11:22 PM, Arnd Bergmann wrote: > > The omapfb driver is split into platform specific code for omap1, and > > driver code that is also specific to omap1. > > > > Moving both parts into the driver directory simplifies the structure > > and avoids the dependency on certain omap machine header files. > > > > The interrupt numbers in particular however must not be referenced > > directly from the driver to allow building in a multiplatform > > configuration, so these have to be passed through resources, is > > done for all other omap drivers. > > > > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> > > For fbdev part: > > Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx> Thanks for taking a look. > [ It seems that adding of static inline for omap_set_dma_priority() > when ARCH_OMAP=n should be in patch #9 but this is a minor issue. ] That would have been ok as well, but having the addition here was intentional and seems more logical to me as this is where the headers get moved around. Arnd