From patchwork Tue Apr 30 09:29:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2503971 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 5DA313FD40 for ; Tue, 30 Apr 2013 09:42:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759879Ab3D3Jl7 (ORCPT ); Tue, 30 Apr 2013 05:41:59 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:54477 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752898Ab3D3Jl6 (ORCPT ); Tue, 30 Apr 2013 05:41:58 -0400 Received: by mail-pd0-f182.google.com with SMTP id 14so210455pdj.13 for ; Tue, 30 Apr 2013 02:41:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=juhofN5RLHqQKnfmIC8xwfyzJKo4//fT8YSlDXmdI54=; b=HkuSIETb9s1rlTDNsOpGx6+gPCPMv+yFeriqNhi8Y8Pc82AR7r9CbXvgCcndtmytkO PAXfRxCJa8BhsokonXQf6BtmLhJ47H9g8iE3Baj+l/axmlDgAATDdm/tBjWL9Bsq4bdO J2vP+U23d+jmQMau+9HwgYceFdgElJVgeyOAVraX1ZSSCt+30CcCvnVgRzPOfb8yWkUG s3rFKcOPNpmbSghOB99dAsQ46B3kA+dhhTWB1tsdB3KyYP4PvLFxBJn07wqFazqSbvhF b0yduHpC5TBOlhKOvFMNbZrkCSZnV/i7GLfnNfFzXFbwBBPD3UhHVAKpy7ZjvzWLGZ90 z3Ew== X-Received: by 10.66.251.133 with SMTP id zk5mr50777883pac.26.1367314918289; Tue, 30 Apr 2013 02:41:58 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id x2sm27814327pba.32.2013.04.30.02.41.55 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Apr 2013 02:41:57 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: g.liakhovetski@gmx.de, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 1/2] [media] soc_camera: Constify dev_pm_ops in mt9t031.c Date: Tue, 30 Apr 2013 14:59:08 +0530 Message-Id: <1367314149-16448-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlYTD3mjV8DYDj6fpvqn0K816/yZi+pjpY65UI+8J8CxUBrp2lbKMaOwaKGbG4t6nN9nHJ8 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Silences the following warning: WARNING: struct dev_pm_ops should normally be const Signed-off-by: Sachin Kamat --- drivers/media/i2c/soc_camera/mt9t031.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/soc_camera/mt9t031.c b/drivers/media/i2c/soc_camera/mt9t031.c index 26a15b8..191e3f1 100644 --- a/drivers/media/i2c/soc_camera/mt9t031.c +++ b/drivers/media/i2c/soc_camera/mt9t031.c @@ -595,7 +595,7 @@ static int mt9t031_runtime_resume(struct device *dev) return 0; } -static struct dev_pm_ops mt9t031_dev_pm_ops = { +static const struct dev_pm_ops mt9t031_dev_pm_ops = { .runtime_suspend = mt9t031_runtime_suspend, .runtime_resume = mt9t031_runtime_resume, };