Skip to content

Commit

Permalink
[media] staging: as102: Define device name string pointers constant
Browse files Browse the repository at this point in the history
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: Sylwester Nawrocki <snjw23@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Sylwester Nawrocki authored and Mauro Carvalho Chehab committed Nov 8, 2011
1 parent a117263 commit d758b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/media/as102/as102_usb_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
as102_usb_id_table struct */
static const char *as102_device_names[] = {
static const char * const as102_device_names[] = {
AS102_REFERENCE_DESIGN,
AS102_PCTV_74E,
AS102_ELGATO_EYETV_DTT_NAME,
Expand Down

0 comments on commit d758b9e

Please sign in to comment.