aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/usbvision/usbvision.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-04-14 15:15:43 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 15:45:33 -0300
commitf7ca6256bc1db4fb44adda99e082f8c80ada8957 (patch)
tree3991af6637ac5d43991e8108bfb3388d46ad117e /drivers/media/video/usbvision/usbvision.h
parent659ae56dcd5a50e4560cb526a0e0dc881418dad4 (diff)
V4L/DVB (5516): Reduce usbvision data size
This patch reduces usbvision driver on about 1Kb on i386 over the original version with the old struct: text data bss dec hex filename 52312 11848 60 64220 fadc old/usbvision.ko 52474 10708 60 63242 f70a new/usbvision.ko Acked-by: Thierry MERLE <thierry.merle@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/usbvision/usbvision.h')
-rw-r--r--drivers/media/video/usbvision/usbvision.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h
index 4639f3485e7..b4412a5014a 100644
--- a/drivers/media/video/usbvision/usbvision.h
+++ b/drivers/media/video/usbvision/usbvision.h
@@ -347,9 +347,9 @@ struct usbvision_device_data_st {
int VideoChannels;
__u64 VideoNorm;
int AudioChannels;
- int Radio;
- int vbi;
- int Tuner;
+ int Radio:1;
+ int vbi:1;
+ int Tuner:1;
int TunerType;
int Vin_Reg1;
int Vin_Reg2;