diff options
| author | Marton Nemeth <nm127@freemail.hu> | 2009-10-04 20:54:48 +0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-05 23:40:26 +0300 |
| commit | 24067bb552ae8be647372359d6a3ea6ce7de1525 (patch) | |
| tree | 079a7ddef61df3b0f6a1aa22a37ff132ea6065c9 /include/linux | |
| parent | 5a2e8d9fc15901d6ee4ec177b3845a84b6b960bd (diff) | |
| download | linux-24067bb552ae8be647372359d6a3ea6ce7de1525.tar.xz | |
V4L/DVB (13119): gspca - pac7311: remove magic value for USB_BUF_SZ
The length check in reg_w_var() function is because the buffer contents
is copied to gspca_dev->usb_buf which has the size of USB_BUF_SZ bytes as
defined in drivers/media/video/gspca/gspca.h. Replace the number with
symbol for better readability and maintainability.
Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
