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: 16518 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0B8ED20065 for ; Tue, 30 Apr 2013 09:42:02 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id 15sf444221vea.8 for ; Tue, 30 Apr 2013 02:42:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=juhofN5RLHqQKnfmIC8xwfyzJKo4//fT8YSlDXmdI54=; b=idRcAVFtsrNt7nh7mNxK1+eO4hujc7021ct2l8lT/gKWdGjM5PPyj/RnsjCPDm5HZi xrQRj8Bh0WjWx5Sl79Sh0wPlmOPbiTWOGrAs+U0oZVWDu5uPmnsvqjkppJZsXVIzaTeH C2N7pLiXILT1HgZ6Kih+ZrYI1xqYgCVGApw1MdRb6CSaHNl1p2h4RCS6TGHxOmIRD34x vU2A/A+TNx6AfusCGqfGWyulbFzzKhXtk86gQpnOr9b6OcFrzy7JsxCjGOuWR6EZ45m+ p6nOaQ9O5wUaJ7jIWC8NRdFBuOOKxwvn56wCd1I1ghfCYx+SnTnma9qeXj+m6zbeKAf0 LWtw== X-Received: by 10.236.60.73 with SMTP id t49mr24622003yhc.19.1367314920245; Tue, 30 Apr 2013 02:42:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.94.78 with SMTP id da14ls141530qeb.74.gmail; Tue, 30 Apr 2013 02:42:00 -0700 (PDT) X-Received: by 10.220.169.132 with SMTP id z4mr19746968vcy.28.1367314920036; Tue, 30 Apr 2013 02:42:00 -0700 (PDT) Received: from mail-vb0-x22d.google.com (mail-vb0-x22d.google.com [2607:f8b0:400c:c02::22d]) by mx.google.com with ESMTPS id s1si11720427vcc.44.2013.04.30.02.41.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Apr 2013 02:42:00 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22d; Received: by mail-vb0-f45.google.com with SMTP id 11so235184vbf.32 for ; Tue, 30 Apr 2013 02:41:59 -0700 (PDT) X-Received: by 10.220.89.198 with SMTP id f6mr18054vcm.45.1367314919850; Tue, 30 Apr 2013 02:41:59 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.127.98 with SMTP id nf2csp97238veb; Tue, 30 Apr 2013 02:41:59 -0700 (PDT) X-Received: by 10.68.7.39 with SMTP id g7mr6330367pba.146.1367314918924; Tue, 30 Apr 2013 02:41:58 -0700 (PDT) Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [2607:f8b0:400e:c01::22a]) by mx.google.com with ESMTPS id ac4si20347024pad.132.2013.04.30.02.41.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Apr 2013 02:41:58 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c01::22a is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=2607:f8b0:400e:c01::22a; Received: by mail-pb0-f42.google.com with SMTP id up15so178592pbc.29 for ; Tue, 30 Apr 2013 02:41:58 -0700 (PDT) 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: ALoCoQm3qdthW+epupxhcTPwg6/5re8mLGhunnuolSkwEwcEhNbTfkaKqDRyfTRp+k2ZCcjSlzhG X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22d is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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, };