drm: shmobile: fix warnings
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 13 Jul 2014 11:19:03 +0000 (12:19 +0100)
committerDave Airlie <airlied@redhat.com>
Tue, 22 Jul 2014 01:31:35 +0000 (11:31 +1000)
commit681ff260bf10c558c3aaa5255e25e13d4517fff3
tree6f0a8c7adcdc33ff24ec455600d668ddca29a787
parent396d7a24a9b3ddbce3335c57a234227eb7762d14
drm: shmobile: fix warnings

drivers/gpu/drm/shmobile/shmob_drm_drv.c:300: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/shmobile/shmob_drm_drv.c