ANDROID: GKI: fix crc build error in blk-mq.c
In commit 855c4916f782 ("blk-mq: Abort suspend when wakeup events are
pending") a new .h file is added, which causes a number of crc values in
the blk-mq.c file to be changed. Fix this up by properly guarding the
include file.
Fixes: 855c4916f782 ("blk-mq: Abort suspend when wakeup events are pending")
Change-Id: Ib0139edfa6b16485edb9967eef3a14dbbaa3a40b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 2b1c116..d084bc0 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -23,7 +23,9 @@
#include <linux/sched/sysctl.h>
#include <linux/sched/topology.h>
#include <linux/sched/signal.h>
+#ifndef __GENKSYMS__
#include <linux/suspend.h>
+#endif
#include <linux/delay.h>
#include <linux/crash_dump.h>
#include <linux/prefetch.h>