Message ID | 1413913086-12730-9-git-send-email-johan@kernel.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <rtc-linux+bncBD2536XZRAKBBFFXTKRAKGQEARTOGHI@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-wi0-x23e.google.com (mail-wi0-x23e.google.com [IPv6:2a00:1450:400c:c05::23e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4D4F214008E for <incoming@patchwork.ozlabs.org>; Wed, 22 Oct 2014 04:45:00 +1100 (AEDT) Received: by mail-wi0-f190.google.com with SMTP id ho1sf168360wib.17 for <incoming@patchwork.ozlabs.org>; Tue, 21 Oct 2014 10:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:sender:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe:content-type; bh=5Kxyy3IqjCrbEjcqT1dNad8kW4TbKBj7AYYiMYn9jRA=; b=RE6mZYVd4b5TEZV4QMKYNY0QrQTPVOlgBtv3oo6V55yodtduDGCQvpyVMVdlKTXbEe 4HlpX7VLEnvY7EAIsoodKdEJPfg+rWP7BaGv8NlDAtauEGe7hjmZpS3y9yvTWW2kpICS E6mtLTbnZ3C5BqR1lR0PgJOaQA2Axte2xaJ0l+xr9bKGYJDqPZPn9J1nyCpkWr6hmMKC PEv0QpIVoN1cJy4preWdORgPTWTyuK4zUmJiZ/Vu6y9hZlpWE3ptcIQ8ksBsTH2RmT8m YL0aeoTesCSL5oYD9LSn4LRuoLuRGEhXfLUAU4ajrVuku6ti/oIdR9S9pxbLXRJvj82q dRsw== X-Received: by 10.152.120.229 with SMTP id lf5mr18603lab.30.1413913492922; Tue, 21 Oct 2014 10:44:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.152.26.72 with SMTP id j8ls72296lag.105.gmail; Tue, 21 Oct 2014 10:44:52 -0700 (PDT) X-Received: by 10.112.55.10 with SMTP id n10mr668448lbp.14.1413913492122; Tue, 21 Oct 2014 10:44:52 -0700 (PDT) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com. [2a00:1450:4010:c04::231]) by gmr-mx.google.com with ESMTPS id us10si1847577lbc.1.2014.10.21.10.44.52 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Oct 2014 10:44:52 -0700 (PDT) Received-SPF: pass (google.com: domain of jhovold@gmail.com designates 2a00:1450:4010:c04::231 as permitted sender) client-ip=2a00:1450:4010:c04::231; Received: by mail-lb0-f177.google.com with SMTP id w7so1441469lbi.8 for <rtc-linux@googlegroups.com>; Tue, 21 Oct 2014 10:44:52 -0700 (PDT) X-Received: by 10.152.43.97 with SMTP id v1mr36368945lal.3.1413913492049; Tue, 21 Oct 2014 10:44:52 -0700 (PDT) Received: from xi.terra (s83-177-171-8.cust.tele2.se. [83.177.171.8]) by mx.google.com with ESMTPSA id h9sm4805014lae.44.2014.10.21.10.44.50 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Oct 2014 10:44:51 -0700 (PDT) Sender: rtc-linux@googlegroups.com Received: from johan by xi.terra with local (Exim 4.84) (envelope-from <johan@xi.terra>) id 1XgdRN-0003NP-NE; Tue, 21 Oct 2014 19:41:49 +0200 From: Johan Hovold <johan@kernel.org> To: Alessandro Zummo <a.zummo@towertech.it>, Tony Lindgren <tony@atomide.com>, =?UTF-8?q?Beno=C3=AEt=20Cousson?= <bcousson@baylibre.com>, Felipe Balbi <balbi@ti.com> Cc: Andrew Morton <akpm@linux-foundation.org>, Lokesh Vutla <lokeshvutla@ti.com>, Guenter Roeck <linux@roeck-us.net>, nsekhar@ti.com, t-kristo@ti.com, j-keerthy@ti.com, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, Johan Hovold <johan@kernel.org> Subject: [rtc-linux] [PATCH v2 08/20] rtc: omap: make platform-device id table const Date: Tue, 21 Oct 2014 19:37:54 +0200 Message-Id: <1413913086-12730-9-git-send-email-johan@kernel.org> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1413913086-12730-1-git-send-email-johan@kernel.org> References: <1412881594-25678-1-git-send-email-johan@kernel.org> <1413913086-12730-1-git-send-email-johan@kernel.org> X-Original-Sender: jhovold@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jhovold@gmail.com designates 2a00:1450:4010:c04::231 as permitted sender) smtp.mail=jhovold@gmail.com; dkim=pass header.i=@gmail.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com>, <http://groups.google.com/group/rtc-linux/subscribe> Content-Type: text/plain; charset=ISO-8859-1 |
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index dbb88e46c25d..bdee29674589 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c @@ -342,7 +342,7 @@ static int omap_rtc_timer; #define OMAP_RTC_DATA_AM3352_IDX 1 #define OMAP_RTC_DATA_DA830_IDX 2 -static struct platform_device_id omap_rtc_devtype[] = { +static const struct platform_device_id omap_rtc_devtype[] = { { .name = DRIVER_NAME, },
Make platform-device id table const. Signed-off-by: Johan Hovold <johan@kernel.org> --- drivers/rtc/rtc-omap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)