* Jon Hunter <jon-hunter@xxxxxx> [121213 09:11]: > On 12/12/2012 09:06 PM, NeilBrown wrote: > > On Wed, 12 Dec 2012 10:08:28 -0600 Jon Hunter <jon-hunter@xxxxxx> wrote: > >> On 12/12/2012 02:24 AM, NeilBrown wrote: > >>> + > >>> +#include <plat/dmtimer.h> > >> > >> This is going to be a problem for the single zImage work, because we > >> cannot include any plat headers in driver code any more. Therefore, > >> although it is not ideal, one way to handle this is pass function > >> pointers to the various dmtimer APIs that are needed via the platform > >> data. Painful I know ... > > > > But that doesn't work with devicetree does it? > > Ugh, you are right! This is becoming an increasing problem. > > > Can't we move the dmtimer.h file to include/linux/omap-dmtimer.h or something? > > I can ask Tony if he thinks we could do that. Yeah we need to fix this somehow. First we need to limit that header to the minimum and have most of it in a local header file for the clocksource and clockevent. Then let's move the minimal header to include/linux/omap-dmtimer.h until we have something Linux generic available for doing things like this. Regards, Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html