From 150cee9cfd749b1a9f4e995d63761891d46c56de Mon Sep 17 00:00:00 2001 From: Russell King Date: Sat, 12 Jul 2014 11:01:38 +0100 Subject: [PATCH] drm: bochs: fix warnings Regular nightly randconfig build testing discovered these warnings: drivers/gpu/drm/bochs/bochs_drv.c:100:12: warning: 'bochs_pm_suspend' defined but not used [-Wunused-function] drivers/gpu/drm/bochs/bochs_drv.c:117:12: warning: 'bochs_pm_resume' defined but not used [-Wunused-function] Fix these by adding the same condition that SET_SYSTEM_SLEEP_PM_OPS() uses. Signed-off-by: Russell King Signed-off-by: Dave Airlie --- Reading git-format-patch failed