diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-03-29 07:47:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:45:13 -0400 |
commit | 66623a0419da2bae2efab40a46018faacce2e3aa (patch) | |
tree | 63794f2a1282e466ded2ace2315e623a25e8ad03 /drivers/media/video/cx88/cx88.h | |
parent | 53c4e9551c2930767fcdaa54323616c32ed6e9c6 (diff) |
V4L/DVB (5480): Fix cx88_print_irqbits calls to use ARRAY_SIZE
cx88_print_irqbits were expecting a string pointer with 32 bytes. Better
to pass the string size and use ARRAY_SIZE on its calls.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88.h')
-rw-r--r-- | drivers/media/video/cx88/cx88.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88.h b/drivers/media/video/cx88/cx88.h index d16ed93080e9..738d4f20c580 100644 --- a/drivers/media/video/cx88/cx88.h +++ b/drivers/media/video/cx88/cx88.h | |||
@@ -512,7 +512,7 @@ struct cx8802_dev { | |||
512 | /* cx88-core.c */ | 512 | /* cx88-core.c */ |
513 | 513 | ||
514 | extern void cx88_print_irqbits(char *name, char *tag, char **strings, | 514 | extern void cx88_print_irqbits(char *name, char *tag, char **strings, |
515 | u32 bits, u32 mask); | 515 | int len, u32 bits, u32 mask); |
516 | 516 | ||
517 | extern int cx88_core_irq(struct cx88_core *core, u32 status); | 517 | extern int cx88_core_irq(struct cx88_core *core, u32 status); |
518 | extern void cx88_wakeup(struct cx88_core *core, | 518 | extern void cx88_wakeup(struct cx88_core *core, |