From: J.R. Mauro Date: Tue, 28 Oct 2008 23:00:56 +0000 (-0400) Subject: Staging: sxg: break the build in a cleaner way when !x86 X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=62545d814fff3c162e8d8d4b3f5a7e4109b7073f;p=deliverable%2Flinux.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 Signed-off-by: Greg Kroah-Hartman --- 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