diff options
Diffstat (limited to 'arch/sh/kernel/clkdev.c')
| -rw-r--r-- | arch/sh/kernel/clkdev.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/kernel/clkdev.c b/arch/sh/kernel/clkdev.c index befc255830a4..1f800ef4a735 100644 --- a/arch/sh/kernel/clkdev.c +++ b/arch/sh/kernel/clkdev.c | |||
| @@ -161,9 +161,11 @@ EXPORT_SYMBOL(clk_add_alias); | |||
| 161 | */ | 161 | */ |
| 162 | void clkdev_drop(struct clk_lookup *cl) | 162 | void clkdev_drop(struct clk_lookup *cl) |
| 163 | { | 163 | { |
| 164 | struct clk_lookup_alloc *cla = container_of(cl, struct clk_lookup_alloc, cl); | ||
| 165 | |||
| 164 | mutex_lock(&clocks_mutex); | 166 | mutex_lock(&clocks_mutex); |
| 165 | list_del(&cl->node); | 167 | list_del(&cl->node); |
| 166 | mutex_unlock(&clocks_mutex); | 168 | mutex_unlock(&clocks_mutex); |
| 167 | kfree(cl); | 169 | kfree(cla); |
| 168 | } | 170 | } |
| 169 | EXPORT_SYMBOL(clkdev_drop); | 171 | EXPORT_SYMBOL(clkdev_drop); |
