drivers/rtc/rtc-mxc.c: remove defines already included in rtc.h

[[email protected]: retain the code comments]
Signed-off-by: Wolfram Sang <[email protected]>
Cc: Vladimir Zapolskiy <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Wolfram Sang 2011-05-26 16:25:12 -07:00 • committed by Linus Torvalds
commit 9796cc964d
2 changed files with 4 additions and 10 deletions

View file

@ -55,12 +55,6 @@ static const u32 PIE_BIT_DEF[MAX_PIE_NUM][2] = {
{ MAX_PIE_FREQ, RTC_SAM7_BIT },
};
/* Those are the bits from a classic RTC we want to mimic */
#define RTC_IRQF 0x80 /* any of the following 3 is active */
#define RTC_PF 0x40 /* Periodic interrupt */
#define RTC_AF 0x20 /* Alarm interrupt */
#define RTC_UF 0x10 /* Update interrupt for 1Hz RTC */
#define MXC_RTC_TIME 0
#define MXC_RTC_ALARM 1