150-2-clk-sunxi-export-func.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From a8cfe8ebdb18e6724b6520e08602b8e72e762ab9 Mon Sep 17 00:00:00 2001
  2. From: Hans de Goede <[email protected]>
  3. Date: Sun, 15 Dec 2013 19:44:01 +0100
  4. Subject: [PATCH] ARM: sunxi: clk: export clk_sunxi_mmc_phase_control
  5. Signed-off-by: Hans de Goede <[email protected]>
  6. ---
  7. include/linux/clk/sunxi.h | 22 ++++++++++++++++++++++
  8. 1 file changed, 22 insertions(+)
  9. create mode 100644 include/linux/clk/sunxi.h
  10. --- /dev/null
  11. +++ b/include/linux/clk/sunxi.h
  12. @@ -0,0 +1,22 @@
  13. +/*
  14. + * Copyright 2013 - Hans de Goede <[email protected]>
  15. + *
  16. + * This program is free software; you can redistribute it and/or modify
  17. + * it under the terms of the GNU General Public License as published by
  18. + * the Free Software Foundation; either version 2 of the License, or
  19. + * (at your option) any later version.
  20. + *
  21. + * This program is distributed in the hope that it will be useful,
  22. + * but WITHOUT ANY WARRANTY; without even the implied warranty of
  23. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  24. + * GNU General Public License for more details.
  25. + */
  26. +
  27. +#ifndef __LINUX_CLK_SUNXI_H_
  28. +#define __LINUX_CLK_SUNXI_H_
  29. +
  30. +#include <linux/clk.h>
  31. +
  32. +void clk_sunxi_mmc_phase_control(struct clk_hw *hw, u8 sample, u8 output);
  33. +
  34. +#endif