summaryrefslogtreecommitdiff
path: root/drivers/clk/at91/at91sam9260.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/at91/at91sam9260.c')
-rw-r--r--drivers/clk/at91/at91sam9260.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/at91sam9260.c b/drivers/clk/at91/at91sam9260.c
index a9d4234758d7..946f03a09858 100644
--- a/drivers/clk/at91/at91sam9260.c
+++ b/drivers/clk/at91/at91sam9260.c
@@ -462,7 +462,7 @@ static void __init at91sam926x_pmc_setup(struct device_node *np,
return;
err_free:
- pmc_data_free(at91sam9260_pmc);
+ kfree(at91sam9260_pmc);
}
static void __init at91sam9260_pmc_setup(struct device_node *np)