OSDN Git Service

ath9k: make ath_ps_ops structures as const
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 3 Aug 2017 14:55:31 +0000 (20:25 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 8 Aug 2017 11:09:15 +0000 (14:09 +0300)
commit3588e1110e49fdad7fc8898420a9c71b34a3ca04
tree532bac8c2605c480445b34f53bf157eb29dbc9c1
parent39efc7cc7ccf82d1cd946580cdb70760f347305a
ath9k: make ath_ps_ops structures as const

ath_ps_ops structures are only stored as a reference in the ps_ops
field of a ath_common structure. This field is of type const, so make
the structures as const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath9k/htc_drv_init.c
drivers/net/wireless/ath/ath9k/init.c