aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/tm6000/tm6000-dvb.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-06-03 16:31:20 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:05:52 -0300
commit39e1256bc4b85145b9db392e49a71cad43f6903b (patch)
tree26859d818584ff840d9574957abad2caf2056e7f /drivers/staging/tm6000/tm6000-dvb.c
parentV4L/DVB: tm6000-alsa: rework audio buffer allocation/deallocation (diff)
downloadlinux-dev-39e1256bc4b85145b9db392e49a71cad43f6903b.tar.xz
linux-dev-39e1256bc4b85145b9db392e49a71cad43f6903b.zip
V4L/DVB: tm6000: Use an enum for extension type
In order to better document and be sure that the values are used at the proper places, convert extension type into an enum and name it as "type", instead of "id". Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/tm6000/tm6000-dvb.c')
-rw-r--r--drivers/staging/tm6000/tm6000-dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/tm6000/tm6000-dvb.c b/drivers/staging/tm6000/tm6000-dvb.c
index d3529ae73e2f..f501edccf9c4 100644
--- a/drivers/staging/tm6000/tm6000-dvb.c
+++ b/drivers/staging/tm6000/tm6000-dvb.c
@@ -432,7 +432,7 @@ static int dvb_fini(struct tm6000_core *dev)
}
static struct tm6000_ops dvb_ops = {
- .id = TM6000_DVB,
+ .type = TM6000_DVB,
.name = "TM6000 dvb Extension",
.init = dvb_init,
.fini = dvb_fini,