mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 19:23:57 +08:00
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>
This commit is contained in:
parent
89fc868674
commit
396d7a24a9
@ -187,7 +187,7 @@ static struct drm_driver rcar_du_driver = {
|
||||
* Power management
|
||||
*/
|
||||
|
||||
#if CONFIG_PM_SLEEP
|
||||
#ifdef CONFIG_PM_SLEEP
|
||||
static int rcar_du_pm_suspend(struct device *dev)
|
||||
{
|
||||
struct rcar_du_device *rcdu = dev_get_drvdata(dev);
|
||||
|
Loading…
Reference in New Issue
Block a user