Re: [PATCH] Staging: comedi: made range.c checkpatch.pl compliant
From: Ian Abbott
Date:  Thu Jan 31 2013 - 06:02:56 EST
On 2013-01-31 10:56, Sebastiaan de Haan wrote:
Change made to range.c to make it checkpatch.pl compliant
Signed-off-by: Sebastiaan de Haan <sebastiaan@xxxxxxxxxxxxxxxxxxx>
---
  drivers/staging/comedi/range.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/comedi/range.c b/drivers/staging/comedi/range.c
index 59ff0cf..b87fb4e 100644
--- a/drivers/staging/comedi/range.c
+++ b/drivers/staging/comedi/range.c
@@ -35,7 +35,7 @@ const struct comedi_lrange range_unipolar10 = { 1, {UNI_RANGE(10)} };
  EXPORT_SYMBOL(range_unipolar10);
  const struct comedi_lrange range_unipolar5 = { 1, {UNI_RANGE(5)} };
  EXPORT_SYMBOL(range_unipolar5);
-const struct comedi_lrange range_unknown = { 1, {{0, 1000000, UNIT_none} } };
+const struct comedi_lrange range_unknown = { 1, {{0, 1000000, UNIT_NONE} } };
  EXPORT_SYMBOL(range_unknown);
No, no, no.  It doesn't compile and UNIT_none is used by user space.
--
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@xxxxxxxxx>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/