[PATCH 03/10] omap: Move dmtimer defines to dmtimer.h

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jun 20 05:56:03 EDT 2011

On Mon, Jun 20, 2011 at 02:23:34AM -0700, Tony Lindgren wrote:
> These will be needed when dmtimer platform init code gets split
> for omap1 and omap2+. These will also be needed for separate
> sys_timer init and driver init for the rest of the hardware timers
> in the following patches. No functional changes.

If dmtimer.c is the only user of these definitions, then its quite correct
for them to be in there.  If not, they should be in dmtimer.h in the local
directory - they're private definitions to the .c file and so should not
be exported outside of that .c file.

More information about the linux-arm-kernel mailing list