John Linn | b85a3ef | 2011-06-20 11:47:27 -0600 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-zynq/include/mach/clkdev.h |
| 3 | * |
| 4 | * Copyright (C) 2011 Xilinx, Inc. |
| 5 | * |
| 6 | * This software is licensed under the terms of the GNU General Public |
| 7 | * License version 2, as published by the Free Software Foundation, and |
| 8 | * may be copied, distributed, and modified under those terms. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | */ |
| 16 | |
| 17 | #ifndef __MACH_CLKDEV_H__ |
| 18 | #define __MACH_CLKDEV_H__ |
| 19 | |
| 20 | #include <plat/clock.h> |
| 21 | |
| 22 | struct clk { |
| 23 | unsigned long rate; |
| 24 | const struct clk_ops *ops; |
| 25 | const struct icst_params *params; |
| 26 | void __iomem *vcoreg; |
| 27 | }; |
| 28 | |
| 29 | #define __clk_get(clk) ({ 1; }) |
| 30 | #define __clk_put(clk) do { } while (0) |
| 31 | |
| 32 | #endif |