diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-21 23:02:29 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-12 11:19:05 -0400 |
commit | d6f76b979c9f83aaf2fa3d51eb5b175690f7acbc (patch) | |
tree | dbe05b97981155a5bdae6e8dee2653e0cfad34c2 /drivers/media/video/gspca/zc3xx.c | |
parent | 3227c860b6c96f97671e9373c14a280429956928 (diff) |
V4L/DVB (12478): ARRAY_SIZE changes
These changes were a direct result of using a semantic patch
More information can be found at http://www.emn.fr/x-info/coccinelle/
[mchehab@redhat.com: fix a merge conflict]
Signed-off-by: Stoyan Gaydarov <sgayda2@uiuc.edu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/zc3xx.c')
-rw-r--r-- | drivers/media/video/gspca/zc3xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c index 3d2756f7874..cdf3357b4c9 100644 --- a/drivers/media/video/gspca/zc3xx.c +++ b/drivers/media/video/gspca/zc3xx.c | |||
@@ -7574,7 +7574,7 @@ static int sd_get_jcomp(struct gspca_dev *gspca_dev, | |||
7574 | static const struct sd_desc sd_desc = { | 7574 | static const struct sd_desc sd_desc = { |
7575 | .name = MODULE_NAME, | 7575 | .name = MODULE_NAME, |
7576 | .ctrls = sd_ctrls, | 7576 | .ctrls = sd_ctrls, |
7577 | .nctrls = sizeof sd_ctrls / sizeof sd_ctrls[0], | 7577 | .nctrls = ARRAY_SIZE(sd_ctrls), |
7578 | .config = sd_config, | 7578 | .config = sd_config, |
7579 | .init = sd_init, | 7579 | .init = sd_init, |
7580 | .start = sd_start, | 7580 | .start = sd_start, |