Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1030631rwb; Tue, 29 Nov 2022 08:09:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf6ovuxshMgRusrlAsylJmHejn/x4eFWVbz/KQOZFGfshAVEyAHG133mWSu9F673I8zg3fr7 X-Received: by 2002:a05:6402:5d5:b0:464:fa1:9ece with SMTP id n21-20020a05640205d500b004640fa19ecemr27982399edx.262.1669738189990; Tue, 29 Nov 2022 08:09:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669738189; cv=none; d=google.com; s=arc-20160816; b=KQR/WO7zbfbSwgidu7TlJw8Kfh8RFFbgcJYuFqSx2RmCnZ3anWSYcDTmvn3TiBXHrg Y63QEOYBZl5PjsdKNA8Cc4/jJLNOSj50glp1H5WSW+t7l6m2oIsoOguTb75DlAga7vqS fqwapjTJq6eHpksFmD61ZKhKGun5PoMMrN1qfufYbVPCkQi9imEgSqtxgDMF+lxKripw Vaif3zZuqJrT0yDB9yrrvQx3o+UW4+Kv33irxH76EBEIZSWEkqf/dyBS/Jbd6+q2q88w OtndGIrlRTJndIMh+m4UZMToBFU598wWkFAXhX6raG9WAsdguJQ+h/n5eeivmTAK2wpv Utdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=ZX0B5BBuR1K+dA2SUfVbLudyajXUcyLamBRqEttKJ6k=; b=D1ii7uzYQk87R0+L2tzLEvhwPDu58hQcX7jG0m8Tm8ZEvRsE9YmDOXgJgaBy5uuU3P RPWK5B/zAID02AjR9mn4pZSz3TYF0h1BuG2XOixZ20/mzhkmXIr14ugQBHCsSMYTpdDB 908uUqjvQsBjBmBhoCBNmJfc6j4i5W+pDjCLmpqdN3YnmNpEYICewDd8BGw703/Iur22 r7h75Byd5D0zOt0I/uFOiNNau9ylwDXOajnp9vPFPQ36H2SJskE64PMQK7wlSlddZWeQ yh1iNA+ATaIOlDz48r0+UAYzsiM5ux1RgRxV2inC//5ep7fWkXSdaqw7qchGrKFfOZvS HH/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NFmyJRgu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cx23-20020a05640222b700b00462e23be64fsi11066264edb.578.2022.11.29.08.09.28; Tue, 29 Nov 2022 08:09:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NFmyJRgu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236026AbiK2Pxx (ORCPT + 85 others); Tue, 29 Nov 2022 10:53:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234117AbiK2Pxv (ORCPT ); Tue, 29 Nov 2022 10:53:51 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D71A731DC0; Tue, 29 Nov 2022 07:53:50 -0800 (PST) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2ATFDcv9016366; Tue, 29 Nov 2022 15:53:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=ZX0B5BBuR1K+dA2SUfVbLudyajXUcyLamBRqEttKJ6k=; b=NFmyJRgukuDp0i84XXoTbvBpTzpgURFnxv8TlcQVed8902MA8/OzYf3IYrWF96VIVmlQ vWCbuQo6sHLnZOi/M6xBezvMfxdEcxMYZ+agmMdUA1T8VAt6W0HWcPUUqnBIu5C0ASm+ kuKbgVvCebH+b+d+opCcEonvIJ7masjOHmVQK7+6fdVDNDYVcAW2JFJTleqYFwQkNklT tvN7JyUcbadFM7XPz8PumJg794eOedTHfTm4cw0+0GBZspXL/c65oe55HxgX3AIpUsj5 86fm4VMIpHAT7qGSJhbjHE4z5GZll1Q/AUfesIvBEKzDON0vV8TLfdn2D4UMFLIILPOW hg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3m5fjx0xj4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Nov 2022 15:53:05 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 2ATFr4mX029742 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Nov 2022 15:53:04 GMT Received: from hu-srivasam-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 29 Nov 2022 07:52:57 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v2] ASoC: qcom: lpass-sc7180: Add maybe_unused tag for system PM ops Date: Tue, 29 Nov 2022 21:22:40 +0530 Message-ID: <1669737160-5282-1-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: BPsAIBaRYB-MDZixTn5KMRp_j_R0FUlC X-Proofpoint-GUID: BPsAIBaRYB-MDZixTn5KMRp_j_R0FUlC X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-11-29_10,2022-11-29_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 clxscore=1015 suspectscore=0 mlxlogscore=847 impostorscore=0 priorityscore=1501 spamscore=0 bulkscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2211290087 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add __maybe_unused tag for system PM ops suspend and resume. This is required to fix allmodconfig compilation issue. Fixes: 2d68148f8f85 ("ASoC: qcom: lpass-sc7180: Add system suspend/resume PM ops") Signed-off-by: Srinivasa Rao Mandadapu --- Changes since v1: -- Updated Fixes tag. sound/soc/qcom/lpass-sc7180.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/qcom/lpass-sc7180.c b/sound/soc/qcom/lpass-sc7180.c index b96b85a..41db661 100644 --- a/sound/soc/qcom/lpass-sc7180.c +++ b/sound/soc/qcom/lpass-sc7180.c @@ -163,14 +163,14 @@ static int sc7180_lpass_exit(struct platform_device *pdev) return 0; } -static int sc7180_lpass_dev_resume(struct device *dev) +static int __maybe_unused sc7180_lpass_dev_resume(struct device *dev) { struct lpass_data *drvdata = dev_get_drvdata(dev); return clk_bulk_prepare_enable(drvdata->num_clks, drvdata->clks); } -static int sc7180_lpass_dev_suspend(struct device *dev) +static int __maybe_unused sc7180_lpass_dev_suspend(struct device *dev) { struct lpass_data *drvdata = dev_get_drvdata(dev); -- 2.7.4