Advertisement
Guest User

Untitled

a guest
Jan 19th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. struct sun6i_ahb1_clk {
  2. struct clk_hw hw;
  3. void __iomem *reg;
  4. const struct pre_div_table *table;
  5. };
  6.  
  7. struct pre_div_table {
  8. u8 parent;
  9. u8 prediv;
  10. };
  11.  
  12. static const struct pre_div_table sun6i_ahb1_prediv_table[] __initconst = {
  13. { .parent = 0, .prediv = 0 },
  14. { .parent = 1, .prediv = 0 },
  15. { .parent = 2, .prediv = 0 },
  16. { .parent = 3, .prediv = 1 },
  17. { } /* sentinel */
  18. };
  19.  
  20. static const struct pre_div_table sun8i_a83t_ahb1_prediv_table[] __initconst = {
  21. { .parent = 0, .prediv = 0 },
  22. { .parent = 1, .prediv = 0 },
  23. { .parent = 2, .prediv = 1 },
  24. { .parent = 3, .prediv = 1 },
  25. { } /* sentinel */
  26. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement