From patchwork Wed Apr 3 05:00:39 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2384571 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 0CF54DFB79 for ; Wed, 3 Apr 2013 05:12:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758296Ab3DCFMg (ORCPT ); Wed, 3 Apr 2013 01:12:36 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:58664 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754300Ab3DCFMe (ORCPT ); Wed, 3 Apr 2013 01:12:34 -0400 Received: by mail-pb0-f54.google.com with SMTP id xa7so642518pbc.13 for ; Tue, 02 Apr 2013 22:12:33 -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:in-reply-to :references:x-gm-message-state; bh=UOOdwA1vljGVucOZjC/syNBHQVjSQCW8yQiDVQvV97U=; b=Ck+h5+GKM4JHVXBv7GVpHxdn8pN2JnGONkpQpn+FOF3484KSWfvOdE6HsP/TrV1VTD 7ohItLenR9fPdB0sqlxIJxNg1CIg5FW76i0E6qao/BuXlgf/a9l98z+3ZcpZ99R/8EwJ qv0mhzSPinSk0FX5ohk7MTPYgFcLhEecpcZnnphGdhs0l3GwB87t6bPQxWzNRu7hkn7J hijWYc4ScJdEL42PDO64Xcb4TMxxeboCDrlL9DnwCVnnOAXIxHy/vsxBmUiGQF3W8TUN 2AFaSpM29apc7b2ET7YQlpH/zvTpJu3h6kjkFLNRg1NpO/yeJyUlPQ+VUNsWKw2NVDE5 FoAg== X-Received: by 10.68.135.234 with SMTP id pv10mr302374pbb.168.1364965953529; Tue, 02 Apr 2013 22:12:33 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPS id hp1sm5322588pac.3.2013.04.02.22.12.31 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 22:12:32 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: g.liakhovetski@gmx.de, sachin.kamat@linaro.org Subject: [PATCH 5/7] soc_camera/pxa_camera: Constify struct dev_pm_ops Date: Wed, 3 Apr 2013 10:30:39 +0530 Message-Id: <1364965241-28225-5-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1364965241-28225-1-git-send-email-sachin.kamat@linaro.org> References: <1364965241-28225-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQn5pNt1WWSeh5N4SESQxLpVvbgDrTIfPlk5NHPPAUD6g276lyhB7B5DwI+lWc/p50MkYKDJ Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org struct dev_pm_ops should be const. Signed-off-by: Sachin Kamat --- drivers/media/platform/soc_camera/pxa_camera.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/soc_camera/pxa_camera.c b/drivers/media/platform/soc_camera/pxa_camera.c index b0e6f3b..d665242 100644 --- a/drivers/media/platform/soc_camera/pxa_camera.c +++ b/drivers/media/platform/soc_camera/pxa_camera.c @@ -1796,7 +1796,7 @@ static int pxa_camera_remove(struct platform_device *pdev) return 0; } -static struct dev_pm_ops pxa_camera_pm = { +static const struct dev_pm_ops pxa_camera_pm = { .suspend = pxa_camera_suspend, .resume = pxa_camera_resume, };