projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89fc868
)
drm: rcar-du: fix warnings
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 13 Jul 2014 11:18:58 +0000
(12:18 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 22 Jul 2014 01:31:07 +0000
(11:31 +1000)
drivers/gpu/drm/rcar-du/rcar_du_drv.c:190:5: warning: "CONFIG_PM_SLEEP" is not defined [-Wundef]
Always use #ifdef with CONFIG symbols, never just bare #if
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/rcar-du/rcar_du_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index 792fd1d20e865df1125294dcfbf626e6a7a16524..fda64b7b73e816f80716f0a33b2764a7b4711af1 100644
(file)
--- a/
drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/
drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@
-187,7
+187,7
@@
static struct drm_driver rcar_du_driver = {
* Power management
*/
-#if CONFIG_PM_SLEEP
+#if
def
CONFIG_PM_SLEEP
static int rcar_du_pm_suspend(struct device *dev)
{
struct rcar_du_device *rcdu = dev_get_drvdata(dev);