Explorar o código

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>
J.R. Mauro %!s(int64=17) %!d(string=hai) anos
pai
achega
62545d814f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/staging/sxg/sxghif.h

+ 1 - 1
drivers/staging/sxg/sxghif.h

@@ -854,5 +854,5 @@ struct SXG_SCATTER_GATHER {
 #define SXG_SGL_BUFFER(_SxgSgl)		NULL
 #define SXG_SGL_BUFFER(_SxgSgl)		NULL
 #define SXG_SGL_BUF_SIZE			0
 #define SXG_SGL_BUF_SIZE			0
 #else
 #else
-Stop Compilation;
+#error staging: sxg: driver is for X86 only!
 #endif
 #endif