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-Tag: v2.6.29-rc1~228^2~138 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62545d814fff3c162e8d8d4b3f5a7e4109b7073f;p=profile%2Fivi%2Fkernel-x86-ivi.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 bca93fc..a4e9468 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