diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-15 04:10:14 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-15 04:10:14 +0000 |
commit | 08903c0e9f66d5b4c8339cec10cf6ddf0ec6bf8e (patch) | |
tree | bc6c100f3e6c9421acf75c0f7a7fa554fc520b3d /linux/drivers/media/video/s2255drv.c | |
parent | 5f74e4c2e62639cfefc8edb708879cb187e6d8b5 (diff) | |
download | mediapointer-dvb-s2-08903c0e9f66d5b4c8339cec10cf6ddf0ec6bf8e.tar.gz mediapointer-dvb-s2-08903c0e9f66d5b4c8339cec10cf6ddf0ec6bf8e.tar.bz2 |
v4l: s2255drv fix firmware test on big-endian
From: Harvey Harrison <harvey.harrison@gmail.com>
Noticed by sparse:
drivers/media/video/s2255drv.c:2531:6: warning: restricted __le32 degrades to integer
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
CC: Dean Anderson <dean@sensoray.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/s2255drv.c')
-rw-r--r-- | linux/drivers/media/video/s2255drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/s2255drv.c b/linux/drivers/media/video/s2255drv.c index 5a872787e..ab9814144 100644 --- a/linux/drivers/media/video/s2255drv.c +++ b/linux/drivers/media/video/s2255drv.c @@ -193,7 +193,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 |