Fix bmoca build for Linux 3.15

sleep_on_timeout() has been deprecated long time ago, even in 2.6.37.
It has finally been removed in 3.15. Use schedule_timeout_interruptible()
instead. It has been available even before 2.6.37.

Change-Id: I69d49792edc09d5a6a38e62c82dfff08fa640287
diff --git a/3.3/bmoca.c b/3.3/bmoca.c
index e8f1829..075520c 100644
--- a/3.3/bmoca.c
+++ b/3.3/bmoca.c
@@ -1628,7 +1628,6 @@
 {
 	struct bsc_regs *bsc = priv->i2c_base;
 	long timeout = HZ / 1000; /* 1 ms */
-	DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wait);
 	int i = 0;
 
 	do {
@@ -1642,7 +1641,7 @@
 				__func__);
 			return -1;
 		}
-		sleep_on_timeout(&wait, timeout ? timeout : 1);
+		schedule_timeout_interruptible(timeout ? timeout : 1);
 	} while (1);
 }
 
diff --git a/3.8/bmoca.c b/3.8/bmoca.c
index 08812d9..79e0dc0 100644
--- a/3.8/bmoca.c
+++ b/3.8/bmoca.c
@@ -1479,7 +1479,6 @@
 {
 	struct bsc_regs *bsc = priv->i2c_base;
 	long timeout = HZ / 1000;	/* 1ms */
-	DECLARE_WAIT_QUEUE_HEAD_ONSTACK(wait);
 	int i = 0;
 
 	do {
@@ -1492,7 +1491,7 @@
 			dev_warn(priv->dev, "3450 I2C timed out\n");
 			return -1;
 		}
-		sleep_on_timeout(&wait, timeout ? timeout : 1);
+		schedule_timeout_interruptible(timeout ? timeout : 1);
 	} while (1);
 }