diff options
author | Sylwester Nawrocki <snjw23@gmail.com> | 2011-11-06 16:31:49 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-08 11:32:42 -0200 |
commit | d758b9ef7aacb66d99529b6a24dc54e9d11434b7 (patch) | |
tree | febfa057b182b60ebf2f52298255835e6a563e7e /drivers/staging | |
parent | a11726349c4a5add63a9d51c0e8079e0e9f20624 (diff) | |
download | linux-d758b9ef7aacb66d99529b6a24dc54e9d11434b7.tar.gz linux-d758b9ef7aacb66d99529b6a24dc54e9d11434b7.tar.bz2 linux-d758b9ef7aacb66d99529b6a24dc54e9d11434b7.zip |
[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: Sylwester Nawrocki <snjw23@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/media/as102/as102_usb_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/as102/as102_usb_drv.c b/drivers/staging/media/as102/as102_usb_drv.c index 3ded7d6fc77f..97bceeb285c7 100644 --- a/drivers/staging/media/as102/as102_usb_drv.c +++ b/drivers/staging/media/as102/as102_usb_drv.c @@ -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, |