Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp138831pxf; Wed, 24 Mar 2021 23:56:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwB60orHKUycH8nYx7xV3jCESuXWM8ok96R6++Kg46DnCXqcv+uWlyKMSH6gQixeLQk+3dk X-Received: by 2002:a05:6402:1103:: with SMTP id u3mr7262627edv.205.1616655384730; Wed, 24 Mar 2021 23:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616655384; cv=none; d=google.com; s=arc-20160816; b=J0LF+rQQWeH1j49BN7rRTRb57CFTB9XVMc4OuTSTpRHmKem66OCQdFBJ3zQms9cfC7 z4AMBxkV/3YDBhs4dL1JXWyYfkiG+9Q4M6HUbOQah5KiR1fYUiVWDIa+6QQEbknAbWPw iekrCton/qgoaXGEV1OH8AX/t+OpBJOLUhRYiDvugbAY1nLpKeGwsyC/t4UsP+XB8E8E 1LecYlvbDLAzeCqz2TII25KzpP/UptGIshimcLH2eZ1fZv0oDGylJo4/G/SOvSYPsfUr w8enHHCPGnWLPTNzlnOFYGPLRxCqr7EuCevgLdNwetWdbQ12cmXOn4y0Lnm7Z7qAif0U q29g== 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=Sw3x4uA3sstspGsi5Hj3UOWgk6lccIyQdz66zXayu7s=; b=H1ecqQo0yDEwqM1mQj6DLoazMpwZ7THb6wOlkvuTeCjYSh3M0QBbESRvyl1yQDkc+P cvAYRrL7S37NcwHfJ+anGm59Twl7Kyyw7hae9p68Gp1maoKyWI0z1lzDn2f9Cf6L3TUL HWRDr+gYl8mjahZi3sGzWbKUV2QZUFltRTBsYEMNTU+tj4L5W7ALm+PsxS36RCs5xhB1 SlO9lFSjDqahgiMq8dXfD+JIQ6M5HWAn6gdH36bWgnUvzHvcx/pTUrkgX4STIdLtq4Ze 9qIR8HHYG1oC/hzoaTqgKWHVpwcM7jGDtPKjHRx0Trk/NZ9tVPqg+dTlzzQJrUFiuJLJ ZE3A== 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 q8si3586648ejy.320.2021.03.24.23.56.01; Wed, 24 Mar 2021 23:56:24 -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 S229676AbhCYGwS (ORCPT + 99 others); Thu, 25 Mar 2021 02:52:18 -0400 Received: from mail-m17637.qiye.163.com ([59.111.176.37]:54342 "EHLO mail-m17637.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbhCYGwJ (ORCPT ); Thu, 25 Mar 2021 02:52:09 -0400 Received: from wanjb-virtual-machine.localdomain (unknown [36.152.145.182]) by mail-m17637.qiye.163.com (Hmail) with ESMTPA id 4F00E9803C7; Thu, 25 Mar 2021 14:52:07 +0800 (CST) From: Wan Jiabing To: Dan Williams , Vishal Verma , Dave Jiang , Ira Weiny , "James E.J. Bottomley" , "Martin K. Petersen" , linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Cc: kael_w@yeah.net, Wan Jiabing Subject: [PATCH] include: linux: struct device is declared twice Date: Thu, 25 Mar 2021 14:51:53 +0800 Message-Id: <20210325065153.855812-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 oVCBIfWUFZS08fTR9LHh1KSx9KVkpNSk1NTk5KSUxNSk9VEwETFhoSFyQUDg9ZV1kWGg8SFR0UWU FZT0tIVUpKS0hKQ1VLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NjI6Pyo4Sz8LKD4hSwwxFEoX QhoKCkNVSlVKTUpNTU5OSklMQ09CVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKQklCNwY+ X-HM-Tid: 0a78682793edd992kuws4f00e9803c7 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct device has been declared at 133rd line. Remove the duplicate. Signed-off-by: Wan Jiabing --- include/linux/libnvdimm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index 01f251b6e36c..89b69e645ac7 100644 --- a/include/linux/libnvdimm.h +++ b/include/linux/libnvdimm.h @@ -141,7 +141,6 @@ static inline void __iomem *devm_nvdimm_ioremap(struct device *dev, struct nvdimm_bus; struct module; -struct device; struct nd_blk_region; struct nd_blk_region_desc { int (*enable)(struct nvdimm_bus *nvdimm_bus, struct device *dev); -- 2.25.1