From: J.R. Mauro <jrm8005@gmail.com>
Date: Tue, 28 Oct 2008 23:00:56 +0000 (-0400)
Subject: Staging: sxg: break the build in a cleaner way when !x86
X-Git-Tag: v2.6.29-rc1~228^2~138
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=62545d814fff3c162e8d8d4b3f5a7e4109b7073f;p=linux-2.6-omap-h63xx.git

Staging: sxg: break the build in a cleaner way when !x86

Remove ugly 'Stop Comilation;' statement in sxghif, replace with an
error macro.

This should never be hit as we are only building for x86 boxes at the
moment.

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---

diff --git a/drivers/staging/sxg/sxghif.h b/drivers/staging/sxg/sxghif.h
index bca93fcf656..a4e94685c54 100644
--- a/drivers/staging/sxg/sxghif.h
+++ b/drivers/staging/sxg/sxghif.h
@@ -854,5 +854,5 @@ struct SXG_SCATTER_GATHER {
 #define SXG_SGL_BUFFER(_SxgSgl)		NULL
 #define SXG_SGL_BUF_SIZE			0
 #else
-Stop Compilation;
+#error staging: sxg: driver is for X86 only!
 #endif