Commit 72815992 authored by Rikard Falkeborn's avatar Rikard Falkeborn Committed by Corey Minyard

ipmi/watchdog: Constify ident

ident is not modified and can be made const to allow the compiler to put
it in read-only memory.
Signed-off-by: default avatarRikard Falkeborn <rikard.falkeborn@gmail.com>
Message-Id: <20211128220154.32927-1-rikard.falkeborn@gmail.com>
Signed-off-by: default avatarCorey Minyard <cminyard@mvista.com>
parent 993220ba
......@@ -668,7 +668,7 @@ static int ipmi_heartbeat(void)
return rv;
}
static struct watchdog_info ident = {
static const struct watchdog_info ident = {
.options = 0, /* WDIOF_SETTIMEOUT, */
.firmware_version = 1,
.identity = "IPMI"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment