diff options
author | Andy Walls <awalls@radix.net> | 2010-03-13 20:37:25 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-18 00:47:15 -0300 |
commit | 4e1af31aaaa8cc4a5cc1d894bdf04dfc7450d47f (patch) | |
tree | 08f18d52d39f390958e8638dff4123eac7ec8cf8 /drivers/media/video/ivtv/ivtv-driver.h | |
parent | V4L/DVB: ivtv: Avoid hard system lock on decoder output mode change (diff) | |
download | linux-dev-4e1af31aaaa8cc4a5cc1d894bdf04dfc7450d47f.tar.xz linux-dev-4e1af31aaaa8cc4a5cc1d894bdf04dfc7450d47f.zip |
V4L/DVB: ivtv, ivtvfb: Use a define for the output line and field register address
Get rid of the magic number 0x28c0 used in several places in the ivtv and
ivtvfb driver and define the register address to a meaningful name.
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.h')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.h b/drivers/media/video/ivtv/ivtv-driver.h index 5028e31c564a..851f07de5296 100644 --- a/drivers/media/video/ivtv/ivtv-driver.h +++ b/drivers/media/video/ivtv/ivtv-driver.h @@ -116,6 +116,9 @@ #define IVTV_REG_VPU (0x9058) #define IVTV_REG_APU (0xA064) +/* Other registers */ +#define IVTV_REG_DEC_LINE_FIELD (0x28C0) + /* debugging */ extern int ivtv_debug; |