]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-at91/at91_pit.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / include / asm / arch-at91 / at91_pit.h
index 5615a0206caaa19e4d362544d527e2e28c61ccee..d314b062bf30264c1729fc9b9970208f8aaf4af9 100644 (file)
@@ -7,10 +7,7 @@
  * Periodic Interval Timer (PIT) - System peripherals regsters.
  * Based on AT91SAM9261 datasheet revision D.
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef AT91_PIT_H
@@ -25,7 +22,7 @@ typedef struct at91_pit {
 
 #define                AT91_PIT_MR_IEN         0x02000000
 #define                AT91_PIT_MR_EN          0x01000000
-#define                AT91_PIT_MR_PIV_MASK    (x & 0x000fffff)
+#define                AT91_PIT_MR_PIV_MASK(x) (x & 0x000fffff)
 #define                AT91_PIT_MR_PIV(x)      (x & AT91_PIT_MR_PIV_MASK)
 
 #ifdef CONFIG_AT91_LEGACY