diff options
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 488d595d8e4b..d67b781045b7 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c | |||
@@ -665,7 +665,7 @@ static int __init pwrdms_setup(struct powerdomain *pwrdm) | |||
665 | if (!pwrdm->pwrsts) | 665 | if (!pwrdm->pwrsts) |
666 | return 0; | 666 | return 0; |
667 | 667 | ||
668 | pwrst = kmalloc(sizeof(struct power_state), GFP_KERNEL); | 668 | pwrst = kmalloc(sizeof(struct power_state), GFP_ATOMIC); |
669 | if (!pwrst) | 669 | if (!pwrst) |
670 | return -ENOMEM; | 670 | return -ENOMEM; |
671 | pwrst->pwrdm = pwrdm; | 671 | pwrst->pwrdm = pwrdm; |