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: v2.6.32-rc1~662^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f41e2fded031cd8f3c0430687fa6b35ca0589088;p=platform%2Fupstream%2Fkernel-adaptation-pc.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 99ca3f4..1de6751 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)