From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F587C433ED for ; Wed, 7 Apr 2021 17:19:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1352261242 for ; Wed, 7 Apr 2021 17:19:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347917AbhDGRTx (ORCPT ); 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-Google-Smtp-Source: ABdhPJxt8u8Tjz8h2lok5NThS4zt0oc6H4V2sQd1IfhMrpLhLYGtLeBhl0aaFt30aSSEWLkYoktWSnwx1nJYj9Kdnvo= 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!