Skip to content

Commit

Permalink
ipmi: constify SSIF ACPI device ids
Browse files Browse the repository at this point in the history
Constify the ACPI device ID array, it doesn't need to be writable at
runtime.

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
  • Loading branch information
Mathias Krause authored and Corey Minyard committed Sep 3, 2015
1 parent a793089 commit 5186cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/ipmi/ipmi_ssif.c
Original file line number Diff line number Diff line change
Expand Up @@ -1787,7 +1787,7 @@ static unsigned short *ssif_address_list(void)
}

#ifdef CONFIG_ACPI
static struct acpi_device_id ssif_acpi_match[] = {
static const struct acpi_device_id ssif_acpi_match[] = {
{ "IPI0001", 0 },
{ },
};
Expand Down

0 comments on commit 5186cf9

Please sign in to comment.