[media] cx18-driver: fix handling of 'radio' module parameter
authorDanny Kukawka <danny.kukawka@bisect.de>
Wed, 22 Feb 2012 12:24:55 +0000 (09:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Mar 2012 14:07:45 +0000 (11:07 -0300)
commitb3f5badaa1108f9174f068b915700a9e2f2d9ae2
tree99925de7fc86a5d7f2748d16852822f6009dbfac
parent0d47bf5585b1240141c8fb84627e5c1a54ab7a6d
[media] cx18-driver: fix handling of 'radio' module parameter

Reverse cx18-driver part of commit
90ab5ee94171b3e28de6bb42ee30b527014e0be7 and change
module_param_array() type from bool to int to fix
compiler warning:

In function ‘__check_radio’:
113:1: warning: return from incompatible pointer type [enabled by default]
At top level:
113:1: warning: initialization from incompatible pointer type [enabled by default]
113:1: warning: (near initialization for ‘__param_arr_radio.num’) [enabled by default]

v2: corrected version, don't change to module_param_named(), change
    all to int/uint

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-driver.c