summaryrefslogtreecommitdiffstats
path: root/drivers/staging/sxg
diff options
context:
space:
mode:
authorJ.R. Mauro <jrm8005@gmail.com>2008-10-28 19:00:56 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:52:05 -0800
commit62545d814fff3c162e8d8d4b3f5a7e4109b7073f (patch)
tree6a07689aeaa11091fa419c5733b73092a91ab3f2 /drivers/staging/sxg
parent73b07065a3a7e2d6cc1476d3be5f624efe26efc9 (diff)
downloadtalos-obmc-linux-62545d814fff3c162e8d8d4b3f5a7e4109b7073f.tar.gz
talos-obmc-linux-62545d814fff3c162e8d8d4b3f5a7e4109b7073f.zip
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>
Diffstat (limited to 'drivers/staging/sxg')
-rw-r--r--drivers/staging/sxg/sxghif.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/sxg/sxghif.h b/drivers/staging/sxg/sxghif.h
index bca93fcf656c..a4e94685c544 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
OpenPOWER on IntegriCloud