[PATCH tilt-3.2] syslink: add a missing header to fix a build error

Mircea Gherzan mgherzan at gmail.com
Sat Mar 10 23:23:26 UTC 2012


drivers/dsp/syslink/multicore_ipc/heap.c:36:2:
	error: implicit declaration of function 'BUILD_BUG_ON'

Signed-off-by: Mircea Gherzan <mgherzan at gmail.com>
---
 drivers/dsp/syslink/multicore_ipc/heap.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/drivers/dsp/syslink/multicore_ipc/heap.c b/drivers/dsp/syslink/multicore_ipc/heap.c
index 479174d..9deb6df 100644
--- a/drivers/dsp/syslink/multicore_ipc/heap.c
+++ b/drivers/dsp/syslink/multicore_ipc/heap.c
@@ -15,9 +15,8 @@
  *  WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
  *  PURPOSE.
  */
+#include <linux/kernel.h>
 #include <linux/types.h>
-#include <linux/bug.h>
-
 
 #include <heap.h>
 
-- 
1.7.9.1




More information about the linaro-dev mailing list