drm: rcar-du: fix warnings
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 13 Jul 2014 11:18:58 +0000 (12:18 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:36 +0000 (11:15 +0100)
commit08eb1a66d2a4f17849b6c7996a2e099127f10399
treee4f64ce832ae67c6ace0095c530ceff2c6a5a9dc
parent3850efbe9125149c4c38b3f54f79e35e46414b5a
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>
(cherry picked from commit 396d7a24a9b3ddbce3335c57a234227eb7762d14)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/gpu/drm/rcar-du/rcar_du_drv.c