clock.h 555 B

1234567891011121314151617181920212223
  1. /*
  2. * linux/arch/arm/mach-aaec2000/clock.h
  3. *
  4. * Copyright (C) 2005 Nicolas Bellido Y Ortega
  5. *
  6. * Based on linux/arch/arm/mach-integrator/clock.h
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. struct module;
  13. struct clk {
  14. struct list_head node;
  15. unsigned long rate;
  16. struct module *owner;
  17. const char *name;
  18. void *data;
  19. };
  20. int clk_register(struct clk *clk);
  21. void clk_unregister(struct clk *clk);