Blackfin: update gptimers API
authorMichael Hennerich <michael.hennerich@analog.com>
Mon, 4 May 2009 09:11:37 +0000 (09:11 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Jun 2009 10:11:47 +0000 (06:11 -0400)
commitc8d5ea8ccb1ce586131c6c549899cb5073222da0
tree8577a765ef1b9c5c4813ed9ceed5a03a885894f1
parent9ba3c24f10c948dadac2ca91ed714dfbcedd61ca
Blackfin: update gptimers API

First we fix the prototypes for functions that return boolean values by
using "int" rather than "uint16_t".  Then we introduce a get_gptimer_run()
function for checking the current run status of a timer, and then we add a
disable_gptimers_sync() function which parallels disable_gptimers() with
corresponding normal "_sync" behavior.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/gptimers.h
arch/blackfin/kernel/gptimers.c