From 62545d814fff3c162e8d8d4b3f5a7e4109b7073f Mon Sep 17 00:00:00 2001 From: "J.R. Mauro" Date: Tue, 28 Oct 2008 19:00:56 -0400 Subject: 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 --- drivers/staging/sxg/sxghif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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 -- cgit v1.2.3