Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp850469pxf; Wed, 24 Mar 2021 18:29:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1up02AraJkqiiGVMIFAx+5LzwM+yYpfnhYrKQCOj1ra7hVRaJbvmTQr+nrk+ObyuMx9bf X-Received: by 2002:a50:eb97:: with SMTP id y23mr6527200edr.170.1616635739964; Wed, 24 Mar 2021 18:28:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616635739; cv=none; d=google.com; s=arc-20160816; b=XGGaaBDCo5ps8bI3KV3MZmUTbaECRumGTx0537E11AjOtH8GvlUZXZE7mk1pRkXSke Vx6O8lxdw6H7R3RMw0FIxd3MvZ7BpqG/XcZFpzjMLP67Oc0NhfyrJJDGr2//VhkGdb9e J8kRQL5Moi3aZq4wmZlH9xsrzoPmS4/yYi8nIieTbsw/jVRG/Fi+bXbLSKWwwG5g71aQ 8+m3Q9S3+roFh7VTGbswWFCqVuPucaccVpuJ50R+LV1ys1JGvaGzveWaX3hGSxY0w7/H wTJB4w5C46BnA9dgwRtKbmHur8in6hhJwNWpyfBpIQXFrQlW0p8CW2EXYw7hOue6cxaI bXDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=6afTX5fSpflLDhM/u7cbNTe7y0OyqIL7GqTBy2qWjuQ=; b=nXVTvVJTqdkoZywjELU9t6A5nfyK1xSopcSYwXEefyKf06tNNeKDDiwhQAhTZlJmla JlOkvHOJh+/wwJtOTstGFj147YaYpD+BgEpx0pC1ztwKVFQlNbW8XQJUYAmkPZqYW/NU 2NZGYZ+5hR+fX5Iobacu4B81O+5MYcI+Fpnl8CnrofwfAPHa3GbJmOfIqPdsPN7TG2Lf XMwNjq5JGdYyC/CnfA7zLjp9AYX6QG29/eh5RX8IqcV3IWW4YllPuisI8vpZpFbHL0og WJ/oO3wRcRlE4pzGE/g33gyxNcD0fZ+634npaUmVTg3SVh15dN7sJYMhKElBvilMIyQg nY3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h25si2982019ejd.683.2021.03.24.18.28.37; Wed, 24 Mar 2021 18:28:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233288AbhCXH3q (ORCPT + 99 others); Wed, 24 Mar 2021 03:29:46 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:43052 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233072AbhCXH32 (ORCPT ); Wed, 24 Mar 2021 03:29:28 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 3D8F798040B; Wed, 24 Mar 2021 15:29:25 +0800 (CST) From: Wan Jiabing To: "Rafael J. Wysocki" , Pavel Machek , Len Brown , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] include: linux: pm: Remove duplicate declaration Date: Wed, 24 Mar 2021 15:29:11 +0800 Message-Id: <20210324072912.737621-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZGUseGBpKGBpKSklLVkpNSk1OTEtCTU5OQk1VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6OEk6Tzo*ED8QSzhCMEwCKg02 Gj4wCRdVSlVKTUpNTkxLQk1NT0xNVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKT0xNNwY+ X-HM-Tid: 0a7863235dbdd992kuws3d8f798040b Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct device is declared twice.So remove the duplicate. Signed-off-by: Wan Jiabing --- include/linux/pm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/pm.h b/include/linux/pm.h index 482313a8ccfc..c9657408fee1 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h @@ -39,7 +39,6 @@ static inline void pm_vt_switch_unregister(struct device *dev) * Device power management */ -struct device; #ifdef CONFIG_PM extern const char power_group_name[]; /* = "power" */ -- 2.25.1