summaryrefslogtreecommitdiff
path: root/drivers/clk/at91/at91rm9200.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/at91/at91rm9200.c')
-rw-r--r--drivers/clk/at91/at91rm9200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/at91rm9200.c b/drivers/clk/at91/at91rm9200.c
index c44a431b6c97..6f4e1151553d 100644
--- a/drivers/clk/at91/at91rm9200.c
+++ b/drivers/clk/at91/at91rm9200.c
@@ -187,7 +187,7 @@ static void __init at91rm9200_pmc_setup(struct device_node *np)
return;
err_free:
- pmc_data_free(at91rm9200_pmc);
+ kfree(at91rm9200_pmc);
}
/*
* While the TCB can be used as the clocksource, the system timer is most likely