]> git.baikalelectronics.ru Git - kernel.git/commit
video: fbdev: udlfb: 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)
commitaf399b43a9cbd5bb868e4762e0066e7e5d9f580d
tree23d7854183163a10e9c25743bfb7b01781432561
parentd136fe312f0c8797458f9c9070bee14d6fe1ffbb
video: fbdev: udlfb: 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/udlfb.c