OSDN Git Service

iwlwifi: mvm: add const to thermal_cooling_device_ops structure
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 21 Jun 2017 08:40:42 +0000 (14:10 +0530)
committerLuca Coelho <luciano.coelho@intel.com>
Wed, 9 Aug 2017 06:15:32 +0000 (09:15 +0300)
commitb1a1efc57665f7c70e2051e0531837cb1985f11b
treede00e9d1e36c851b582e95f1054c61977bc736cb
parent7089ae634c50544b29b31faf1a751e8765c8de3b
iwlwifi: mvm: add const to thermal_cooling_device_ops structure

Declare thermal_cooling_device_ops structure as const as it is only passed
as an argument to the function thermal_cooling_device_register and this
argument is of type const. So, declare the structure as const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tt.c