Mattias Wallin | 489bcce | 2011-05-27 10:30:12 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) ST-Ericsson SA 2011 |
| 3 | * |
| 4 | * License Terms: GNU General Public License v2 |
| 5 | * Author: Mattias Wallin <mattias.wallin@stericsson.com> |
| 6 | * |
| 7 | */ |
| 8 | #ifndef __CLKSRC_DBX500_PRCMU_H |
| 9 | #define __CLKSRC_DBX500_PRCMU_H |
| 10 | |
| 11 | #include <linux/init.h> |
| 12 | #include <linux/io.h> |
| 13 | |
Mattias Wallin | 489bcce | 2011-05-27 10:30:12 +0200 | [diff] [blame] | 14 | #ifdef CONFIG_CLKSRC_DBX500_PRCMU |
Linus Walleij | b1e3be06 | 2011-10-03 09:30:20 +0200 | [diff] [blame] | 15 | void __init clksrc_dbx500_prcmu_init(void __iomem *base); |
Mattias Wallin | 489bcce | 2011-05-27 10:30:12 +0200 | [diff] [blame] | 16 | #else |
Linus Walleij | b1e3be06 | 2011-10-03 09:30:20 +0200 | [diff] [blame] | 17 | static inline void __init clksrc_dbx500_prcmu_init(void __iomem *base) {} |
Mattias Wallin | 489bcce | 2011-05-27 10:30:12 +0200 | [diff] [blame] | 18 | #endif |
| 19 | |
| 20 | #endif |