[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1358225583.5576.1.camel@gitbox>
Date: Tue, 15 Jan 2013 17:53:03 +1300
From: Tony Prisk <linux@...sktech.co.nz>
To: Stephen Warren <swarren@...dotorg.org>
Cc: Olof Johansson <olof@...om.net>, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
vt8500-wm8505-linux-kernel@...glegroups.com, arm@...nel.org
Subject: Re: [PATCH] timer: vt8500: Move timer code to drivers/clocksource
On Mon, 2013-01-14 at 09:34 -0700, Stephen Warren wrote:
> On 01/13/2013 10:09 PM, Tony Prisk wrote:
> > This patch moves arch-vt8500/timer.c into drivers/clocksource and
> > updates the necessary Kconfig/Makefile options.
>
> > diff --git a/include/linux/vt8500_timer.h b/include/linux/vt8500_timer.h
>
> > +#ifndef __VT8500_TIMER_H
> > +#define __VT8500_TIMER_H
> > +
> > +#include <asm/mach/time.h>
> > +
> > +void vt8500_timer_init(void);
> > +
> > +#endif
>
> Is VT8500 DT-only? If so, it'd be nice not to add this header, but
> instead use CLOCKSOURCE_OF_DECLARE() inside the driver C file.
Agreed - I didn't like the header when I added it but I didn't know of
another way and based in on the sunxi code.
Unfortunately Olof already pulled it into arm-soc, so I will try get
another patch done to undo it :)
Regards
Tony P
--
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