Skip to content

Commit f7bda9e

Browse files
Keerthyjtmlind
authored andcommitted
clocksource: timer-ti-dm: Replace architecture
Replace architecture specific guard with clocksource guard. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 5ca467c commit f7bda9e

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

‎include/clocksource/timer-ti-dm.h‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
/*
2-
* arch/arm/plat-omap/include/plat/dmtimer.h
3-
*
42
* OMAP Dual-Mode Timers
53
*
64
* Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
@@ -36,8 +34,8 @@
3634
#include <linux/io.h>
3735
#include <linux/platform_device.h>
3836

39-
#ifndef __ASM_ARCH_DMTIMER_H
40-
#define __ASM_ARCH_DMTIMER_H
37+
#ifndef __CLOCKSOURCE_DMTIMER_H
38+
#define __CLOCKSOURCE_DMTIMER_H
4139

4240
/* clock sources */
4341
#define OMAP_TIMER_SRC_SYS_CLK 0x00
@@ -426,4 +424,4 @@ static inline void __omap_dm_timer_write_status(struct omap_dm_timer *timer,
426424
writel_relaxed(value, timer->irq_stat);
427425
}
428426
#endif /* CONFIG_ARCH_OMAP1 || CONFIG_ARCH_OMAP2PLUS */
429-
#endif /* __ASM_ARCH_DMTIMER_H */
427+
#endif /* __CLOCKSOURCE_DMTIMER_H */

0 commit comments

Comments
 (0)