]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: smscufx: constify usb_device_id.
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Mon, 21 Aug 2017 14:49:57 +0000 (16:49 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Mon, 21 Aug 2017 14:49:57 +0000 (16:49 +0200)
commitd136fe312f0c8797458f9c9070bee14d6fe1ffbb
tree5a19a53daee673baa290a499aafa550bc1892654
parentc2559c3dabfdc68db45b1aa8a6e4efa44ac576c0
video: fbdev: smscufx: constify usb_device_id.

usb_device_id are not supposed to change at runtime. All functions
working with usb_device_id provided by <linux/usb.h> work with
const usb_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: Steve Glendinning <steve.glendinning@shawell.net>
Cc: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/smscufx.c