greybus: gbphy: fix compile error with CONFIG_PM_RUNTIME disabled
authorAxel Haslam <ahaslam@baylibre.com>
Thu, 8 Sep 2016 16:48:43 +0000 (18:48 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 8 Sep 2016 17:50:57 +0000 (19:50 +0200)
commit7398a66f10fc81403009120760b129f1e4ec7e52
tree5118b1cd280b8c9f4288395d9a5d48a1317a1b2a
parent88f6ba61f25bfe6eb92cb8f511b0879cdfbb64d3
greybus: gbphy: fix compile error with CONFIG_PM_RUNTIME disabled

gb_phy runtime functions use struct gbphy_device *gbphy_dev,
and not struct device. When CONFIG_PM_RUNTIME is not enabled
a compile error will show.

Fix this by passing struct gbphy_device * as parameter

Testing Done: compile with CONFIG_PM_RUNTIME disabled

Signed-off-by: Axel Haslam <ahaslam@baylibre.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/gbphy.h