From: Harvey Harrison Date: Sat, 15 Nov 2008 04:10:14 +0000 (-0300) Subject: V4L/DVB (9635): v4l: s2255drv fix firmware test on big-endian X-Git-Tag: v2.6.28-rc7~1^2~14 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=deaf53e3c8e717169669ee6c2594b5c33d1af93b;p=linux-2.6-omap-h63xx.git V4L/DVB (9635): v4l: s2255drv fix firmware test on big-endian Noticed by sparse: drivers/media/video/s2255drv.c:2531:6: warning: restricted __le32 degrades to integer Cc: Dean Anderson Signed-off-by: Harvey Harrison Signed-off-by: Andrew Morton Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/s2255drv.c b/drivers/media/video/s2255drv.c index 5272926db73..3c3f8cf7310 100644 --- a/drivers/media/video/s2255drv.c +++ b/drivers/media/video/s2255drv.c @@ -192,7 +192,7 @@ struct s2255_dmaqueue { #define S2255_FW_FAILED 3 #define S2255_FW_DISCONNECTING 4 -#define S2255_FW_MARKER 0x22552f2f +#define S2255_FW_MARKER cpu_to_le32(0x22552f2f) /* 2255 read states */ #define S2255_READ_IDLE 0 #define S2255_READ_FRAME 1