aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clksrc-dbx500-prcmu.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-12-01 15:00:24 +0100
committerArnd Bergmann <arnd@arndb.de>2015-12-01 22:37:02 +0100
commit9d2aa8c7961ae9af5f75af2dc171dd4e4f441e89 (patch)
treebb498ca9ef3433266e2851b69060e8d96a4640c6 /include/linux/clksrc-dbx500-prcmu.h
parentARM: use const and __initconst for smp_operations (diff)
downloadlinux-dev-9d2aa8c7961ae9af5f75af2dc171dd4e4f441e89.tar.xz
linux-dev-9d2aa8c7961ae9af5f75af2dc171dd4e4f441e89.zip
ARM/clocksource: use automatic DT probing for ux500 PRCMU
The ARM core kernel already calls clocksource_of_init() so why go to all the trouble of locating and probing this node in the machine. CLOCKSOURCE_OF_DECLARE() will take care of it in the clocksource driver, and thus we can also get rid of the dangling header file <linux/clksrc-dbx500-prcmu.h> Suggested-by: Arnd Bergmann <arndb@linaro.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/clksrc-dbx500-prcmu.h')
-rw-r--r--include/linux/clksrc-dbx500-prcmu.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/linux/clksrc-dbx500-prcmu.h b/include/linux/clksrc-dbx500-prcmu.h
deleted file mode 100644
index 4fb8119c49e4..000000000000
--- a/include/linux/clksrc-dbx500-prcmu.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (C) ST-Ericsson SA 2011
- *
- * License Terms: GNU General Public License v2
- * Author: Mattias Wallin <mattias.wallin@stericsson.com>
- *
- */
-#ifndef __CLKSRC_DBX500_PRCMU_H
-#define __CLKSRC_DBX500_PRCMU_H
-
-#include <linux/init.h>
-#include <linux/io.h>
-
-#ifdef CONFIG_CLKSRC_DBX500_PRCMU
-void __init clksrc_dbx500_prcmu_init(void __iomem *base);
-#else
-static inline void __init clksrc_dbx500_prcmu_init(void __iomem *base) {}
-#endif
-
-#endif