Skip to content

Commit

Permalink
[media] /w9966: Fix a build warning
Browse files Browse the repository at this point in the history
drivers/media/video/w9966.c: In function ‘__check_pardev’:
drivers/media/video/w9966.c:136:1: warning: return from incompatible pointer type [enabled by default]

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Mauro Carvalho Chehab committed Mar 19, 2012
1 parent 0c22aff commit c9e7252
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/w9966.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ MODULE_LICENSE("GPL");
MODULE_VERSION("0.33.1");

#ifdef MODULE
static const char *pardev[] = {[0 ... W9966_MAXCAMS] = ""};
static char *pardev[] = {[0 ... W9966_MAXCAMS] = ""};
#else
static const char *pardev[] = {[0 ... W9966_MAXCAMS] = "aggressive"};
static char *pardev[] = {[0 ... W9966_MAXCAMS] = "aggressive"};
#endif
module_param_array(pardev, charp, NULL, 0);
MODULE_PARM_DESC(pardev, "pardev: where to search for\n"
Expand Down

0 comments on commit c9e7252

Please sign in to comment.