summaryrefslogtreecommitdiff
path: root/include/asm-sparc/mostek.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc/mostek.h')
-rw-r--r--include/asm-sparc/mostek.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc/mostek.h b/include/asm-sparc/mostek.h
index 59b86bc793bf..40b173ca70d2 100644
--- a/include/asm-sparc/mostek.h
+++ b/include/asm-sparc/mostek.h
@@ -88,7 +88,7 @@ extern void __iomem *mstk48t02_regs;
#define MSTK_DOW_MASK 0x07
#define MSTK_DOM_MASK 0x3f
#define MSTK_MONTH_MASK 0x1f
-#define MSTK_YEAR_MASK 0xff
+#define MSTK_YEAR_MASK 0xffU
/* Binary coded decimal conversion macros. */
#define MSTK_REGVAL_TO_DECIMAL(x) (((x) & 0x0F) + 0x0A * ((x) >> 0x04))