]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: vub300: constify usb_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 9 Aug 2017 17:50:58 +0000 (23:20 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:58 +0000 (14:01 +0200)
commitfece6a2c8647736fb925e8bffb3764a21b6e78ca
treed3b6e650f2481d303955fda95496d8fa6840206a
parent9facca8f9d276f3bbd8ef555389adb380786af0f
mmc: vub300: 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>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/vub300.c