Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753095AbbFMMT7 (ORCPT ); Sat, 13 Jun 2015 08:19:59 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:33526 "EHLO mail-wg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751406AbbFMMTw (ORCPT ); Sat, 13 Jun 2015 08:19:52 -0400 From: Mathias Krause To: Corey Minyard Cc: "Rafael J. Wysocki" , Len Brown , openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org, Mathias Krause Subject: [PATCH] ipmi: constify ACPI device ids Date: Sat, 13 Jun 2015 14:19:33 +0200 Message-Id: <1434197973-8018-1-git-send-email-minipli@googlemail.com> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 872 Lines: 29 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 }, { }, }; -- 1.7.10.4 -- 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/