From patchwork Fri Aug 31 09:47:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 11127 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B9C0623E29 for ; Fri, 31 Aug 2012 09:49:52 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 93860A185A6 for ; Fri, 31 Aug 2012 09:49:14 +0000 (UTC) Received: by iafj25 with SMTP id j25so4478791iaf.11 for ; Fri, 31 Aug 2012 02:49:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=9AvlLg9uhGU6BV8+yDer+8wW42Xx37F62INjjsjV5cA=; b=Zj4mArtOzG74ndjH6P6kNQLgQrwSeqeP0mpObi5y50yhZX6VZQ77IHWeNc1aj+unag MTuVvAeUizorNf7L4KKUBn4xjVzfEIrJfvQoCDhd7TawnLxRn9x7B1Jgcg5hMIBCHcO4 KkIOzXLRhF5F1JlSJRwc228WsHByQytOVV/wMTuIQgJ6uKXUfALJed6eBMR11wcmaHPO IHV67II+TW5EUr/yTC5dCVzVV1VpuQ8hR2o/h0CzMw254zXkYVJT5f6p7JGy8DZhr5rO mihI9Jl8wrBiCJbSzMYpTT88DfuuP9C8vQcsvdDdLtc1ZnbaLq9lYcQh9UnogdLmuUGI zTvg== Received: by 10.50.45.162 with SMTP id o2mr1946016igm.0.1346406591892; Fri, 31 Aug 2012 02:49:51 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp3037igc; Fri, 31 Aug 2012 02:49:51 -0700 (PDT) Received: by 10.66.83.129 with SMTP id q1mr14596689pay.4.1346406591251; Fri, 31 Aug 2012 02:49:51 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id kc9si7741220pbc.85.2012.08.31.02.49.50 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 02:49:51 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbcmd12 with SMTP id md12so4956391pbc.37 for ; Fri, 31 Aug 2012 02:49:50 -0700 (PDT) Received: by 10.66.76.106 with SMTP id j10mr14404915paw.51.1346406590736; Fri, 31 Aug 2012 02:49:50 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id po4sm3109789pbb.13.2012.08.31.02.49.47 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 31 Aug 2012 02:49:49 -0700 (PDT) From: Sachin Kamat To: linux-input@vger.kernel.org Cc: dmitry.torokhov@gmail.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] Input: s3c2410_ts: Make s3c_ts_pmops const Date: Fri, 31 Aug 2012 15:17:17 +0530 Message-Id: <1346406437-19213-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlNp80kxXjVCZFRjRTdnh1RildhakKb1KKJqoxNzaU2JecIwDOLINjzQ6LmLyVZ9UcXSttw Fixes the following warning: WARNING: struct dev_pm_ops should normally be const Signed-off-by: Sachin Kamat --- drivers/input/touchscreen/s3c2410_ts.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/input/touchscreen/s3c2410_ts.c b/drivers/input/touchscreen/s3c2410_ts.c index bf1a064..b3c66d4 100644 --- a/drivers/input/touchscreen/s3c2410_ts.c +++ b/drivers/input/touchscreen/s3c2410_ts.c @@ -406,7 +406,7 @@ static int s3c2410ts_resume(struct device *dev) return 0; } -static struct dev_pm_ops s3c_ts_pmops = { +static const struct dev_pm_ops s3c_ts_pmops = { .suspend = s3c2410ts_suspend, .resume = s3c2410ts_resume, };