Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753572AbbFMQ0f (ORCPT ); Sat, 13 Jun 2015 12:26:35 -0400 Received: from mail-ob0-f171.google.com ([209.85.214.171]:35109 "EHLO mail-ob0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751721AbbFMQ00 (ORCPT ); Sat, 13 Jun 2015 12:26:26 -0400 Message-ID: <557C59B1.3030708@acm.org> Date: Sat, 13 Jun 2015 11:26:25 -0500 From: Corey Minyard Reply-To: minyard@acm.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Mathias Krause CC: "Rafael J. Wysocki" , Len Brown , openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ipmi: constify ACPI device ids References: <1434197973-8018-1-git-send-email-minipli@googlemail.com> In-Reply-To: <1434197973-8018-1-git-send-email-minipli@googlemail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 999 Lines: 32 Queued for the next kernel release. Thanks. -corey On 06/13/2015 07:19 AM, Mathias Krause wrote: > Constify the ACPI device ID array, it doesn't need to be writable at > runtime. > > Signed-off-by: Mathias Krause > --- > drivers/char/ipmi/ipmi_ssif.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/char/ipmi/ipmi_ssif.c b/drivers/char/ipmi/ipmi_ssif.c > index 207689c444a8..95a0910d91e4 100644 > --- a/drivers/char/ipmi/ipmi_ssif.c > +++ b/drivers/char/ipmi/ipmi_ssif.c > @@ -1787,7 +1787,7 @@ skip_addr: > } > > #ifdef CONFIG_ACPI > -static struct acpi_device_id ssif_acpi_match[] = { > +static const struct acpi_device_id ssif_acpi_match[] = { > { "IPI0001", 0 }, > { }, > }; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/