浏览代码

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 16 年之前
父节点
当前提交
62545d814f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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_BUF_SIZE			0
 #else
-Stop Compilation;
+#error staging: sxg: driver is for X86 only!
 #endif