From patchwork Fri Mar 4 15:33:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Buesch X-Patchwork-Id: 609331 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p24FXM5Q030362 for ; Fri, 4 Mar 2011 15:33:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753173Ab1CDPda (ORCPT ); Fri, 4 Mar 2011 10:33:30 -0500 Received: from 80-190-117-144.ip-home.de ([80.190.117.144]:45706 "EHLO bu3sch.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750800Ab1CDPda (ORCPT ); Fri, 4 Mar 2011 10:33:30 -0500 Received: by bu3sch.de with esmtpsa (Exim 4.69) (envelope-from ) id 1PvX0V-0000Hg-JB; Fri, 04 Mar 2011 16:33:31 +0100 Subject: [PATCH] cbus-retu-wdt: Constify watchdog_info structure From: Michael Buesch To: Tony Lindgren Cc: Felipe Balbi , linux-omap Date: Fri, 04 Mar 2011 16:33:27 +0100 Message-ID: <1299252807.21644.12.camel@marge> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 04 Mar 2011 15:33:40 +0000 (UTC) Index: linux-2.6.38-rc6/drivers/cbus/retu-wdt.c =================================================================== --- linux-2.6.38-rc6.orig/drivers/cbus/retu-wdt.c 2011-03-04 16:21:39.106113985 +0100 +++ linux-2.6.38-rc6/drivers/cbus/retu-wdt.c 2011-03-04 16:21:48.503540758 +0100 @@ -149,7 +149,7 @@ static long retu_wdt_ioctl(struct file * struct retu_wdt_dev *wdev = container_of(mdev, struct retu_wdt_dev, miscdev); int new_margin; - static struct watchdog_info ident = { + static const struct watchdog_info ident = { .identity = "Retu Watchdog", .options = WDIOF_SETTIMEOUT, .firmware_version = 0,