diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-12-01 17:00:24 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-12-02 00:37:02 +0300 |
commit | 9d2aa8c7961ae9af5f75af2dc171dd4e4f441e89 (patch) | |
tree | bb498ca9ef3433266e2851b69060e8d96a4640c6 /include/linux/clksrc-dbx500-prcmu.h | |
parent | 75305275a721d33ae9abfaeed2817cec8b2fee9a (diff) | |
download | linux-9d2aa8c7961ae9af5f75af2dc171dd4e4f441e89.tar.xz |
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.h | 20 |
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 |