From patchwork Fri Oct 10 06:53:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhangfei Gao X-Patchwork-Id: 38542 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C9263205D8 for ; Fri, 10 Oct 2014 06:54:30 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id n3sf413395wiv.4 for ; Thu, 09 Oct 2014 23:54:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=75vK66INUWPzt00McxDpYN0AL8Iekz9vzpQtRUSshyI=; b=hjzs8xYciA2yDtYV9Fqech2NL4xrJ2ZMbW1dZzj6dlAR+3uNqryKOsFq0Ir3kkec6k csN0FL6wzPV1ccry+yMFahqdMaNVuedsyGzFqUf79bT6vh/EjMxXplEwF6pCgGHGGA0U QWZNhiKf7wny8BjDWn7/R2OR3DufgVT5pw1pdgHPgSuDLoQOrp+Qi55rfdC58vUBrE8N LR84UX8ZyqMoT0/WawYWAvfNi9TcBUQjbGCfnaaG3rK19SKtzsWYIBCSuA9h1QTRwcxS 5PNJeG8DFSmWvr89jndmafc5g8+JGOoKgQ6cg0DabDWUrC1XWnmZnHmrNSJi+n4Kp3bX mN4w== X-Gm-Message-State: ALoCoQn1nI6Frc5IMUVitdgpB2FGt1x72CsuQ1IPpF+e3kdwIHalv7Ohn3xVdq0SCkRnkmWudNRZ X-Received: by 10.112.190.40 with SMTP id gn8mr309817lbc.10.1412924069929; Thu, 09 Oct 2014 23:54:29 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.26.72 with SMTP id j8ls212680lag.105.gmail; Thu, 09 Oct 2014 23:54:29 -0700 (PDT) X-Received: by 10.112.122.103 with SMTP id lr7mr2400849lbb.48.1412924069750; Thu, 09 Oct 2014 23:54:29 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com [209.85.215.53]) by mx.google.com with ESMTPS id k1si7541667lam.96.2014.10.09.23.54.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Oct 2014 23:54:29 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by mail-la0-f53.google.com with SMTP id gq15so2578655lab.26 for ; Thu, 09 Oct 2014 23:54:29 -0700 (PDT) X-Received: by 10.152.23.170 with SMTP id n10mr2471358laf.29.1412924069304; Thu, 09 Oct 2014 23:54:29 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp371276lbz; Thu, 9 Oct 2014 23:54:28 -0700 (PDT) X-Received: by 10.66.220.40 with SMTP id pt8mr3087178pac.108.1412924067730; Thu, 09 Oct 2014 23:54:27 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kf2si2729800pad.211.2014.10.09.23.54.27 for ; Thu, 09 Oct 2014 23:54:27 -0700 (PDT) Received-SPF: none (google.com: linux-media-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751264AbaJJGyZ (ORCPT + 2 others); Fri, 10 Oct 2014 02:54:25 -0400 Received: from mail-pa0-f47.google.com ([209.85.220.47]:35102 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750905AbaJJGyY (ORCPT ); Fri, 10 Oct 2014 02:54:24 -0400 Received: by mail-pa0-f47.google.com with SMTP id rd3so1174992pab.20 for ; Thu, 09 Oct 2014 23:54:24 -0700 (PDT) X-Received: by 10.70.53.103 with SMTP id a7mr3179487pdp.34.1412924064452; Thu, 09 Oct 2014 23:54:24 -0700 (PDT) Received: from localhost.localdomain ([114.97.107.159]) by mx.google.com with ESMTPSA id ig4sm2400728pbb.55.2014.10.09.23.54.21 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 09 Oct 2014 23:54:23 -0700 (PDT) From: Zhangfei Gao To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, Zhangfei Gao Subject: [PATCH] [media] ir-hix5hd2 fix build warning Date: Fri, 10 Oct 2014 14:53:47 +0800 Message-Id: <1412924027-18997-1-git-send-email-zhangfei.gao@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-media-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: zhangfei.gao@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Change CONFIG_PM to CONFIG_PM_SLEEP to solve warning: 'hix5hd2_ir_suspend' & 'hix5hd2_ir_resume' defined but not used Signed-off-by: Zhangfei Gao --- drivers/media/rc/ir-hix5hd2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/ir-hix5hd2.c b/drivers/media/rc/ir-hix5hd2.c index c555ca2aed0e..455d1b53c9db 100644 --- a/drivers/media/rc/ir-hix5hd2.c +++ b/drivers/media/rc/ir-hix5hd2.c @@ -294,7 +294,7 @@ static int hix5hd2_ir_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM +#ifdef CONFIG_PM_SLEEP static int hix5hd2_ir_suspend(struct device *dev) { struct hix5hd2_ir_priv *priv = dev_get_drvdata(dev);