watchdog: Make watchdog_class const
authorThomas Weißschuh <linux@weissschuh.net>
Thu, 13 Jun 2024 22:57:22 +0000 (00:57 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Wed, 10 Jul 2024 18:01:30 +0000 (20:01 +0200)
commitd794a7410177f05b05232fc8cac46db196eafb00
tree53ff83efe767f4621b5d03371f1645d3b044a05d
parent22a40d14b572deb80c0648557f4bd502d7e83826
watchdog: Make watchdog_class const

Now that the driver core allows for struct class to be in read-only
memory, mark watchdog_class as const.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20240614-class-const-wdt-v1-1-f9a4e2b1ba76@weissschuh.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/watchdog_dev.c