]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: mei_wdt: constify mei_cl_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sat, 26 Aug 2017 06:11:06 +0000 (11:41 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 9 Sep 2017 19:19:58 +0000 (21:19 +0200)
commit30216c5d3965966860d3082cbbc02d76b15a1e4d
treef9ba8f5c046cf826b17aa9d011e989013943fcee
parentbe3baf6ba71f478a2d90d3b7aed110b2cc15b006
watchdog: mei_wdt: constify mei_cl_device_id

mei_cl_device_id are not supposed to change at runtime. All functions
working with mei_cl_device_id provided by <linux/mei_cl_bus.h> work
with const mei_cl_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/mei_wdt.c