]> asedeno.scripts.mit.edu Git - linux.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)
commit8290d78e66a98f77dddf8c173000377101d73ad6
tree5a19a53daee673baa290a499aafa550bc1892654
parent1e85a373a16d96e7f2e039bfb4f606d6041a8576
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