OSDN Git Service

V4L/DVB: tm6000: add request to registers of the group 05
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 11 Mar 2010 13:26:45 +0000 (10:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:47:11 +0000 (00:47 -0300)
commitd9a724073633605def45be1f879a7406af469c87
tree7b59296d741a76e245ebd5c1197b9e7b092cb8fa
parentf7d110c68c7d0fe1de567ea86194fb405d6a43a6
V4L/DVB: tm6000: add request to registers of the group 05

Yet another script magic. This time, the change were generated by this
script:

cat tm6000-regs.h |perl -ne 'if (m/^(\#define TM6010_REQ)(05)([^\s]+)(\s+)0x([A-F0-9].)/) { \
$name="$1$2$3"; $sp=$4; $req=$2; $val=$5; $val=~tr/A-F/a-f/; \
printf "$name%s0x%s, 0x%s\n", $sp, $req, $val; } else { print $_ }' \
>a; mv a tm6000-regs.h

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-regs.h