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: 1392571 Return-Path: X-Original-To: patchwork-linux-input@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 8E082DF215 for ; Fri, 31 Aug 2012 09:50:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751864Ab2HaJtv (ORCPT ); Fri, 31 Aug 2012 05:49:51 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:37953 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751820Ab2HaJtv (ORCPT ); Fri, 31 Aug 2012 05:49:51 -0400 Received: by pbbrr13 with SMTP id rr13so4557727pbb.19 for ; Fri, 31 Aug 2012 02:49:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=9AvlLg9uhGU6BV8+yDer+8wW42Xx37F62INjjsjV5cA=; b=XAv9FvgsQ9qsOJQY6PMzqbJDbhtswPwniphimiPAy7A7HbjImp+P9qN6Cdhdtz3D07 dEe6gvFhn6l2ZJPROqnS9sVmrcdQ5Ykh1QwO/aLGTxksMi/oT+HY+Ti0yDDKFiJBzVQE 4PcuDSmUlICh6waJAx0kcD3AXyvPoKp1ur5QS3nxt17VwiK8ji1G08kbVnB1G5JM71yL VBygbCNJxNEWWayebPW0XG1K/5N3lT/hlyMdu8W9soXx+ixmMUdJCkKDtLMaPVQWfPwO HJyys4dakTluY7ITAeWvDGt3HleUYqJMuMMy529bwGQE6ZKE6vQzYpH+a6zTSUm9sw1w 2e1A== 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: ALoCoQlmV9z5a6fqPKTRxtegl1XzFpTlDze/HfTMBJO923NWfpHTENKAlFtc+WRlX+g9ykocyB93 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org 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, };