Commit d758b9ef authored by Sylwester Nawrocki's avatar Sylwester Nawrocki Committed by Mauro Carvalho Chehab

[media] staging: as102: Define device name string pointers constant

Supresses following checkpatch warning:
WARNING: static const char * array should probably be static const char * const

Cc: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: default avatarSylwester Nawrocki <snjw23@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a1172634
...@@ -47,7 +47,7 @@ static struct usb_device_id as102_usb_id_table[] = { ...@@ -47,7 +47,7 @@ static struct usb_device_id as102_usb_id_table[] = {
/* Note that this table must always have the same number of entries as the /* Note that this table must always have the same number of entries as the
as102_usb_id_table struct */ as102_usb_id_table struct */
static const char *as102_device_names[] = { static const char * const as102_device_names[] = {
AS102_REFERENCE_DESIGN, AS102_REFERENCE_DESIGN,
AS102_PCTV_74E, AS102_PCTV_74E,
AS102_ELGATO_EYETV_DTT_NAME, AS102_ELGATO_EYETV_DTT_NAME,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment