[media] ivtv: fix support for big-endian systems
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 26 May 2012 11:04:26 +0000 (08:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 21:13:27 +0000 (18:13 -0300)
commit1c36dfc5c51b1406c2454fde922491ca6dab8513
tree835f1edd6d559a8593842806a6da39d5c2fe9311
parentc44ff8fa026ab34d95ce0805a56ca507c313a91d
[media] ivtv: fix support for big-endian systems

base_addr has type resource_size_t, which may be 64 bits on a 32-bit ppc.

Tested on my ppc board.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/ivtv/ivtv-driver.h