summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-12-11 22:33:54 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-12-11 22:33:53 -0800
commitffd7c808d4a96512d333272eb0ac21a9eda0bf6a (patch)
tree083543243ef3953315641b3c8251dfc327ffbdd3 /include/linux
parentf9b45a286fa9659bd3af49dd2530039bf6999d27 (diff)
parent292371d2c1bffb8582e114cbd2e039b3c359b2a1 (diff)
Merge "clk: msm: Add virtual clock frontend driver"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/clk/msm-clock-generic.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/linux/clk/msm-clock-generic.h b/include/linux/clk/msm-clock-generic.h
index d7186a363a3f..fe019d366d0b 100644
--- a/include/linux/clk/msm-clock-generic.h
+++ b/include/linux/clk/msm-clock-generic.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -307,4 +307,16 @@ static inline struct mux_div_clk *to_mux_div_clk(struct clk *clk)
extern struct clk_ops clk_ops_mux_div_clk;
+/* ==================== Virtual clock ==================== */
+struct virtclk_front {
+ int id;
+ struct clk c;
+};
+
+extern struct clk_ops virtclk_front_ops;
+
+int msm_virtclk_front_probe(struct platform_device *pdev,
+ struct clk_lookup *table,
+ size_t size);
+
#endif