]> asedeno.scripts.mit.edu Git - linux.git/commit
watchdog: sp805: constify amba_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Wed, 23 Aug 2017 16:34:08 +0000 (22:04 +0530)
committerWim Van Sebroeck <wim@iguana.be>
Sat, 9 Sep 2017 19:17:44 +0000 (21:17 +0200)
commit05ce42fff3afb2904647f6a88c6dc613b5a2793a
treebeb78d6faf69bcf61fc393218bb3161a85349c46
parent68c82befe4023afd75006676c4bd708dbe98d668
watchdog: sp805: constify amba_id

amba_id are not supposed to change at runtime. All functions
working with const amba_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/sp805_wdt.c