2013-03-20 14:26:35

by Alice Ferrazzi

[permalink] [raw]
Subject: [PATCH] Staging: media: solo6x10: v4l2-enc: Fixed C99 comment

Fixed do not use C99 // comments.

Signed-off-by: Alice Ferrazzi <[email protected]>
---
drivers/staging/media/solo6x10/v4l2-enc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/solo6x10/v4l2-enc.c b/drivers/staging/media/solo6x10/v4l2-enc.c
index 4977e86..8f4ec1b 100644
--- a/drivers/staging/media/solo6x10/v4l2-enc.c
+++ b/drivers/staging/media/solo6x10/v4l2-enc.c
@@ -466,7 +466,7 @@ static void write_bytes(u8 **out, unsigned *bits, const u8 *src, unsigned count)
static void write_bits(u8 **out, unsigned *bits, u32 value, unsigned count)
{

- value <<= 32 - count; // shift to the right
+ value <<= 32 - count; /* shift to the right */

while (count--) {
**out <<= 1;
--
1.7.10.4