]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: constify usb_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 9 Aug 2017 16:24:11 +0000 (21:54 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Aug 2017 13:59:07 +0000 (16:59 +0300)
commit1528895aaab56cc755468be344a022c8c5813946
treee01ea46efd99332cf70f27b693b1767628a081fd
parent83a1db722081fd5d3b3db2a16c865f0a69c75e65
ath9k: 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: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/hif_usb.c