]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2981d1a1c55c9346157ebb1fe91c5ecb56e47fb8
tree6f0a8c7adcdc33ff24ec455600d668ddca29a787
parent21fe79baba3db0c568b556825345e0b117c25f3e
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