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: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Message-Id: <20211128220154.32927-1-rikard.falkeborn@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
This commit is contained in:
Rikard Falkeborn 2021-11-28 23:01:54 +01:00 committed by Corey Minyard
parent 993220ba67
commit 7281599201

View File

@ -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"