diff options
Diffstat (limited to 'arch/arm/mach-at91/pm.c')
-rw-r--r-- | arch/arm/mach-at91/pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 1e184767c3be..e24df77abd79 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c | |||
@@ -369,7 +369,7 @@ static void __init at91_pm_sram_init(void) | |||
369 | return; | 369 | return; |
370 | } | 370 | } |
371 | 371 | ||
372 | sram_pool = dev_get_gen_pool(&pdev->dev); | 372 | sram_pool = gen_pool_get(&pdev->dev); |
373 | if (!sram_pool) { | 373 | if (!sram_pool) { |
374 | pr_warn("%s: sram pool unavailable!\n", __func__); | 374 | pr_warn("%s: sram pool unavailable!\n", __func__); |
375 | return; | 375 | return; |