From a092e19b688be88f7329bd05f90cb92ebe1a4f5b Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Thu, 2 Oct 2014 09:20:21 +0200 Subject: [PATCH] gpio: pch: Build context save/restore only for PM The pch_gpio_save_reg_conf() and pch_gpio_restore_reg_conf() functions are only used in pch_gpio_suspend() and pch_gpio_resume(), respectively. Since the latter are only built if PM is enabled, make the former build under the same conditions. Signed-off-by: Thierry Reding Signed-off-by: Linus Walleij --- Reading git-format-patch failed