Skip to content

Commit

Permalink
Staging: sxg: break the build in a cleaner way when !x86
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
J.R. Mauro authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 73b0706 commit 62545d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/sxg/sxghif.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 62545d8

Please sign in to comment.