From: Thierry Reding Date: Thu, 2 Oct 2014 07:20:21 +0000 (+0200) Subject: gpio: pch: Build context save/restore only for PM X-Git-Tag: fixes-against-v3.18-rc2~140^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a092e19b688be88f7329bd05f90cb92ebe1a4f5b;p=pandora-kernel.git 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-diff-tree failed