aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/gbphy.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@google.com>2016-09-09 09:47:01 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2016-09-19 16:52:07 +0200
commit948c6227e76ef2443b327a409dc8eced92b32bda (patch)
treec360611dfb76f749720f46547c3c0fb126eba29a /drivers/staging/greybus/gbphy.h
parentstaging: greybus: Kconfig: enable possibility to select light driver (diff)
downloadlinux-dev-948c6227e76ef2443b327a409dc8eced92b32bda.tar.xz
linux-dev-948c6227e76ef2443b327a409dc8eced92b32bda.zip
staging: greybus: remove CONFIG_PM_RUNTIME from kernel_ver.h
The last thing remaining in kernel_ver.h was the setting of CONFIG_PM_RUNTIME, which isn't needed in a in-tree implementation. So remove the setting of this value, and the .h file entirely as that was the last thing left in it. Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/gbphy.h')
-rw-r--r--drivers/staging/greybus/gbphy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/gbphy.h b/drivers/staging/greybus/gbphy.h
index e251186d5cbb..8ee68055ccc4 100644
--- a/drivers/staging/greybus/gbphy.h
+++ b/drivers/staging/greybus/gbphy.h
@@ -66,7 +66,7 @@ void gb_gbphy_deregister_driver(struct gbphy_driver *driver);
#define module_gbphy_driver(__gbphy_driver) \
module_driver(__gbphy_driver, gb_gbphy_register, gb_gbphy_deregister)
-#ifdef CONFIG_PM_RUNTIME
+#ifdef CONFIG_PM
static inline int gbphy_runtime_get_sync(struct gbphy_device *gbphy_dev)
{
struct device *dev = &gbphy_dev->dev;