Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965339AbbBBW4o (ORCPT ); Mon, 2 Feb 2015 17:56:44 -0500 Received: from spo001.leaseweb.nl ([83.149.101.17]:57835 "EHLO spo001.leaseweb.nl" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S965042AbbBBW4k (ORCPT ); Mon, 2 Feb 2015 17:56:40 -0500 Date: Mon, 2 Feb 2015 23:56:38 +0100 From: Wim Van Sebroeck To: Krzysztof Kozlowski Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] watchdog: imx2: Constify struct regmap_config and watchdog_ops Message-ID: <20150202225638.GA16262@spo001.leaseweb.nl> References: <1420448957-10106-1-git-send-email-k.kozlowski@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1420448957-10106-1-git-send-email-k.kozlowski@samsung.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 553 Lines: 18 Hi Krzysztof, > The regmap_config struct may be const because it is not modified by the > driver and regmap_init() accepts pointer to const. Make struct > watchdog_ops const as well. > > Signed-off-by: Krzysztof Kozlowski Patch added to linux-watchdog-next. Kind regards, Wim. -- 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/