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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"