diff options
author | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-10-05 18:57:24 +0200 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-10-14 15:15:13 +0200 |
commit | 1533bfa6f6b6bcca1ea1f172ef4a1c5ce5e7b335 (patch) | |
tree | b2ed50e4d07c6eb69dca71b6d05c26e151837af2 /drivers/mtd | |
parent | mtd: nand: Export nand_reset() symbol (diff) | |
download | linux-1533bfa6f6b6bcca1ea1f172ef4a1c5ce5e7b335.tar.xz linux-1533bfa6f6b6bcca1ea1f172ef4a1c5ce5e7b335.zip |
mtd: nand: atmel: Actually use the PM ops
commit 6e532afaca8e ("mtd: nand: atmel: Add PM ops") was defining PM
ops but nothing was using/referencing those PM ops.
Fixes: 6e532afaca8e ("mtd: nand: atmel: Add PM ops")
Cc: <stable@vger.kernel.org>
Cc: Romain Izard <romain.izard.pro@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Wenyou Yang <wenyou.yang@microchip.com>
Tested-by: Romain Izard <romain.izard.pro@gmail.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/atmel/nand-controller.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/atmel/nand-controller.c b/drivers/mtd/nand/atmel/nand-controller.c index 29182160bb5f..90a71a56bc23 100644 --- a/drivers/mtd/nand/atmel/nand-controller.c +++ b/drivers/mtd/nand/atmel/nand-controller.c @@ -2549,6 +2549,7 @@ static struct platform_driver atmel_nand_controller_driver = { .driver = { .name = "atmel-nand-controller", .of_match_table = of_match_ptr(atmel_nand_controller_of_ids), + .pm = &atmel_nand_controller_pm_ops, }, .probe = atmel_nand_controller_probe, .remove = atmel_nand_controller_remove, |