clkdev.h 836 B

1234567891011121314151617181920212223242526272829303132
  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. #ifndef __MACH_CLKDEV_H__
  17. #define __MACH_CLKDEV_H__
  18. #include <plat/clock.h>
  19. struct clk {
  20. unsigned long rate;
  21. const struct clk_ops *ops;
  22. const struct icst_params *params;
  23. void __iomem *vcoreg;
  24. };
  25. #define __clk_get(clk) ({ 1; })
  26. #define __clk_put(clk) do { } while (0)
  27. #endif