]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
clocksource: timer-ti-dm: Replace architecture
authorKeerthy <j-keerthy@ti.com>
Thu, 15 Feb 2018 06:01:45 +0000 (11:31 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 22 Feb 2018 18:53:14 +0000 (10:53 -0800)
Replace architecture specific guard with clocksource guard.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
include/clocksource/timer-ti-dm.h

index 831174f688f544eaf90454247de79925806d4d61..4f310957c21b1470f66ca03567625d2b237f856e 100644 (file)
@@ -1,6 +1,4 @@
 /*
- * arch/arm/plat-omap/include/plat/dmtimer.h
- *
  * OMAP Dual-Mode Timers
  *
  * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
@@ -36,8 +34,8 @@
 #include <linux/io.h>
 #include <linux/platform_device.h>
 
-#ifndef __ASM_ARCH_DMTIMER_H
-#define __ASM_ARCH_DMTIMER_H
+#ifndef __CLOCKSOURCE_DMTIMER_H
+#define __CLOCKSOURCE_DMTIMER_H
 
 /* clock sources */
 #define OMAP_TIMER_SRC_SYS_CLK                 0x00
@@ -426,4 +424,4 @@ static inline void __omap_dm_timer_write_status(struct omap_dm_timer *timer,
        writel_relaxed(value, timer->irq_stat);
 }
 #endif /* CONFIG_ARCH_OMAP1 || CONFIG_ARCH_OMAP2PLUS */
-#endif /* __ASM_ARCH_DMTIMER_H */
+#endif /* __CLOCKSOURCE_DMTIMER_H */