]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: elm: compile suspend/resume only with PM_SLEEP
authorWolfram Sang <wsa@sang-engineering.com>
Thu, 17 Apr 2014 07:39:07 +0000 (09:39 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 12 May 2014 20:16:25 +0000 (13:16 -0700)
commite95cd5e7225a8ae767fe2a4636683f2db41979ea
tree09338183699379b966b486846fb6efaf0d706b00
parent5be26836ad0ade7e1754bd66cfd17fd123a8c524
mtd: elm: compile suspend/resume only with PM_SLEEP

Fixes:
drivers/mtd/devices/elm.c:480:12: warning: 'elm_suspend' defined but not used [-Wunused-function]
drivers/mtd/devices/elm.c:488:12: warning: 'elm_resume' defined but not used [-Wunused-function]

Signed-off-by: Wolfram Sang <wsa@sang-engineering.com>
Acked-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/devices/elm.c