Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7bda9ee authored by Keerthy's avatar Keerthy Committed by Tony Lindgren
Browse files

clocksource: timer-ti-dm: Replace architecture



Replace architecture specific guard with clocksource guard.

Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5ca467c4
Loading
Loading
Loading
Loading
+3 −5
Original line number Original line Diff line number Diff line
/*
/*
 * arch/arm/plat-omap/include/plat/dmtimer.h
 *
 * OMAP Dual-Mode Timers
 * OMAP Dual-Mode Timers
 *
 *
 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
@@ -36,8 +34,8 @@
#include <linux/io.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include <linux/platform_device.h>


#ifndef __ASM_ARCH_DMTIMER_H
#ifndef __CLOCKSOURCE_DMTIMER_H
#define __ASM_ARCH_DMTIMER_H
#define __CLOCKSOURCE_DMTIMER_H


/* clock sources */
/* clock sources */
#define OMAP_TIMER_SRC_SYS_CLK			0x00
#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);
	writel_relaxed(value, timer->irq_stat);
}
}
#endif /* CONFIG_ARCH_OMAP1 || CONFIG_ARCH_OMAP2PLUS */
#endif /* CONFIG_ARCH_OMAP1 || CONFIG_ARCH_OMAP2PLUS */
#endif /* __ASM_ARCH_DMTIMER_H */
#endif /* __CLOCKSOURCE_DMTIMER_H */