OSDN Git Service

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)
commit76b07b30c46bcc6a03ff12d45e525794b8e8c14a
treee01ea46efd99332cf70f27b693b1767628a081fd
parente881a6584941c89ae64f6b6568cae35f9cc9f3d9
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