Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp906510pxf; Wed, 7 Apr 2021 14:43:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxQhpMaXgM+9fedp9WuEhAolePCk/0zAa0pBfN+d7vsytCSP8GZB7yZvD5nN+PLwmOP3MG4 X-Received: by 2002:a05:6402:2038:: with SMTP id ay24mr7021538edb.240.1617831811991; Wed, 07 Apr 2021 14:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617831811; cv=none; d=google.com; s=arc-20160816; b=Nbo5cfAf+L65P5JDimZpX74/74hwGrF5FmDWf0XH0g1WRly8vytRGlnbj3lop853+b +ueVs/XvpNXaGYI+a+hwjtzl9L2Baer+Yv9PwKyUEFXtGOwIuhhiEkVjIwUC+KFV06rt EpWft4Ip9LsSvc/kIj9lq+dyXZ6E4z7WlexIHbMRWCZH28IHmnN43OjeKnYNwnA/lcgX EmHvxzz+0H7UUCCiryflsFcIenGd6CNVdNxpPZfG1ng5XIn5p/KE8TGZFcZtsVd49ukz KJ6GLJ3OMVd+iCEmwphGa6OuHMiHa33gYapNjmxFREFI4vsOmSHdzjxlppuds+m4VDpA KI7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Fkgm8HAgL/Gal4L28d+A7F24+oEWebbCO/PFXp5cWhQ=; b=eTOOHOl2VRzMqdvHmpN1PNv4raRQVkcvuh4CBj4iMAW6hbPtGLuFNmdutZvsELZlOi KAMOYgc848kx1YO52l990Ns8B17yDckcm3uodvHe8xAKl2rpgImioZxCco8wEz7ZbJN4 Imt9/MuZvxgskJF10dZxciuozMZqMN8QRvqdCi7ETy5FXt0h5awAHnTbabZz1WfEJgdd BptQSSgCEBMl8X61eCCPI7/RgYSsdH2+ATQG7+vCupWRtEcyHVG+V+4/h7TiU76ec/r2 i4RY7glS2GTGk27IJSPsBTrt9s5q4tIUJQiO5r25mt5k7hasl5N61dgpbd7LLNSd2zHm Q+jA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si1726782ejx.684.2021.04.07.14.43.08; Wed, 07 Apr 2021 14:43:31 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347892AbhDGRTx (ORCPT + 99 others); Wed, 7 Apr 2021 13:19:53 -0400 Received: from mail-oi1-f178.google.com ([209.85.167.178]:39517 "EHLO mail-oi1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347825AbhDGRTw (ORCPT ); Wed, 7 Apr 2021 13:19:52 -0400 Received: by mail-oi1-f178.google.com with SMTP id i81so19509867oif.6; Wed, 07 Apr 2021 10:19:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Fkgm8HAgL/Gal4L28d+A7F24+oEWebbCO/PFXp5cWhQ=; b=Oyb1flSSBsDMza0Cba+SSjHWLu4Fs0fqYsGACQErimUw5JxeMx2l0Ysyao+p5Ftabh MY+VI5Z4X3TkorFCarrHYiINpIGx6xoXg99SQk9nnkWiBrHDpKLZWQztgSQifvRoopgP 5JP/Y6wf6ncW4lfqr+94szOOiBl9cd6Y/B3gaiJ4QroMr/t42Z+7esDIKMJQAvjVNi25 EFSw88TU6dQv/0Lvi9Ua7kJLhP8hF9tsu6Ob4RT8dYoYuaLORi1NmKj8ITckK5el8GZ+ wJw6WkcqShcQxUmFJxmEhdDfD1E0/YE49EM2sXYc6GZwJE0cDeoGzVGQv7mnk0WxSW4y Kxww== X-Gm-Message-State: AOAM532XTKZGLtu+fpSuWnOKlTWvlC/R4lZ7mG5CWmWouei4nY5v/Leq wGWrQcaHEKtjCpN+mPvnc5gn1MEHzPGD/nzpgX4= X-Received: by 2002:aca:5fc3:: with SMTP id t186mr2906295oib.69.1617815980877; Wed, 07 Apr 2021 10:19:40 -0700 (PDT) MIME-Version: 1.0 References: <20210324072912.737621-1-wanjiabing@vivo.com> In-Reply-To: <20210324072912.737621-1-wanjiabing@vivo.com> From: "Rafael J. Wysocki" Date: Wed, 7 Apr 2021 19:19:29 +0200 Message-ID: Subject: Re: [PATCH] include: linux: pm: Remove duplicate declaration To: Wan Jiabing Cc: "Rafael J. Wysocki" , Pavel Machek , Len Brown , Linux PM , Linux Kernel Mailing List , kael_w@yeah.net Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 24, 2021 at 8:30 AM Wan Jiabing wrote: > > 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" */ > -- Applied as 5.13 material, thanks!