summaryrefslogtreecommitdiffstats
path: root/include/linux/clk.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-03-09 11:03:00 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-05-06 11:58:51 +0100
commit2d34e507293102f29ee94d9a9c5b890696d42452 (patch)
tree73aa486714364b6413910d93744e87e259ae9fba /include/linux/clk.h
parentfba3acd961ee167a5ffe4c094deccb7d99a0e963 (diff)
downloadlinux-2d34e507293102f29ee94d9a9c5b890696d42452.tar.gz
linux-2d34e507293102f29ee94d9a9c5b890696d42452.tar.bz2
linux-2d34e507293102f29ee94d9a9c5b890696d42452.zip
clkdev: get rid of redundant clk_add_alias() prototype in linux/clk.h
clk_add_alias() is provided by clkdev, and is not part of the clk API. Howver, it is prototyped in two locations: linux/clkdev.h and linux/clk.h. This is a mess. Get rid of the redundant and unnecessary version in linux/clk.h. Acked-by: Tony Lindgren <tony@atomide.com> Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/clk.h')
-rw-r--r--include/linux/clk.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h
index cafb22df8d00..0df4a51e1a78 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -485,19 +485,6 @@ static inline void clk_disable_unprepare(struct clk *clk)
clk_unprepare(clk);
}
-/**
- * clk_add_alias - add a new clock alias
- * @alias: name for clock alias
- * @alias_dev_name: device name
- * @id: platform specific clock name
- * @dev: device
- *
- * Allows using generic clock names for drivers by adding a new alias.
- * Assumes clkdev, see clkdev.h for more info.
- */
-int clk_add_alias(const char *alias, const char *alias_dev_name, char *id,
- struct device *dev);
-
struct device_node;
struct of_phandle_args;