From: Barry Song Date: Mon, 13 Jul 2009 04:16:42 +0000 (+0000) Subject: Blackfin: bf538: add bfin_clear_PPI_STATUS() helper X-Git-Tag: MMI-PSA29.97-13-9~26935^2~45 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f41e2fded031cd8f3c0430687fa6b35ca0589088;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git Blackfin: bf538: add bfin_clear_PPI_STATUS() helper Add the bf538 version of bfin_clear_PPI_STATUS() to match all other ports. Signed-off-by: Barry Song Signed-off-by: Mike Frysinger --- diff --git a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h index 99ca3f4305e2..1de67515dc9d 100644 --- a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h +++ b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h @@ -1310,6 +1310,7 @@ #define bfin_write_PPI_CONTROL(val) bfin_write16(PPI_CONTROL, val) #define bfin_read_PPI_STATUS() bfin_read16(PPI_STATUS) #define bfin_write_PPI_STATUS(val) bfin_write16(PPI_STATUS, val) +#define bfin_clear_PPI_STATUS() bfin_read_PPI_STATUS() #define bfin_read_PPI_DELAY() bfin_read16(PPI_DELAY) #define bfin_write_PPI_DELAY(val) bfin_write16(PPI_DELAY, val) #define bfin_read_PPI_COUNT() bfin_read16(PPI_COUNT)