diff options
Diffstat (limited to 'arch/arm/mach-pxa/clock.c')
-rw-r--r-- | arch/arm/mach-pxa/clock.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/mach-pxa/clock.c b/arch/arm/mach-pxa/clock.c index db52d2c4791d..49ae38292310 100644 --- a/arch/arm/mach-pxa/clock.c +++ b/arch/arm/mach-pxa/clock.c | |||
@@ -86,20 +86,3 @@ void clks_register(struct clk_lookup *clks, size_t num) | |||
86 | for (i = 0; i < num; i++) | 86 | for (i = 0; i < num; i++) |
87 | clkdev_add(&clks[i]); | 87 | clkdev_add(&clks[i]); |
88 | } | 88 | } |
89 | |||
90 | int clk_add_alias(const char *alias, const char *alias_dev_name, char *id, | ||
91 | struct device *dev) | ||
92 | { | ||
93 | struct clk *r = clk_get(dev, id); | ||
94 | struct clk_lookup *l; | ||
95 | |||
96 | if (!r) | ||
97 | return -ENODEV; | ||
98 | |||
99 | l = clkdev_alloc(r, alias, alias_dev_name); | ||
100 | clk_put(r); | ||
101 | if (!l) | ||
102 | return -ENODEV; | ||
103 | clkdev_add(l); | ||
104 | return 0; | ||
105 | } | ||