drm: rcar-du: fix warnings
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 13 Jul 2014 11:18:58 +0000 (12:18 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 22 Jul 2014 01:31:07 +0000 (11:31 +1000)
commit396d7a24a9b3ddbce3335c57a234227eb7762d14
tree65f8d9027222fbe27a418497728dc8f902b8158b
parent89fc868674ba36d3a332dd2298fbfda5be724162
drm: rcar-du: fix warnings

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