aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clkdev.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2015-03-09 10:43:04 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2015-05-06 11:58:57 +0100
commitb3d8d7e89fab374d731dfb46fe048f09766ca9c8 (patch)
treee10428410ad02b5f01d574ffca1846511170d090 /include/linux/clkdev.h
parentclkdev: get rid of redundant clk_add_alias() prototype in linux/clk.h (diff)
downloadlinux-dev-b3d8d7e89fab374d731dfb46fe048f09766ca9c8.tar.xz
linux-dev-b3d8d7e89fab374d731dfb46fe048f09766ca9c8.zip
clkdev: const-ify connection id to clk_add_alias()
The connection id is only passed to clk_get() which is already const. Const-ify this argument too. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/linux/clkdev.h')
-rw-r--r--include/linux/clkdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clkdev.h b/include/linux/clkdev.h
index 3003afad46c9..cd93b215e3af 100644
--- a/include/linux/clkdev.h
+++ b/include/linux/clkdev.h
@@ -39,7 +39,7 @@ void clkdev_add(struct clk_lookup *cl);
void clkdev_drop(struct clk_lookup *cl);
void clkdev_add_table(struct clk_lookup *, size_t);
-int clk_add_alias(const char *, const char *, char *, struct device *);
+int clk_add_alias(const char *, const char *, const char *, struct device *);
int clk_register_clkdev(struct clk *, const char *, const char *, ...);
int clk_register_clkdevs(struct clk *, struct clk_lookup *, size_t);