mirror of
https://github.com/torvalds/linux.git
synced 2026-05-23 06:31:58 +02:00
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:
parent
993220ba67
commit
7281599201
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user