Staging: sxg: break the build in a cleaner way when !x86
authorJ.R. Mauro <jrm8005@gmail.com>
Tue, 28 Oct 2008 23:00:56 +0000 (19:00 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 21:52:05 +0000 (13:52 -0800)
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>
drivers/staging/sxg/sxghif.h

index bca93fcf656c30fa3ecc70ecad55cccf992f65c1..a4e94685c544f7f66533ff6fffca521daf537c36 100644 (file)
@@ -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