From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5D84DA034E; Sun, 6 Feb 2022 04:59:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F01F4114B; Sun, 6 Feb 2022 04:59:05 +0100 (CET) Received: from out203-205-221-205.mail.qq.com (out203-205-221-205.mail.qq.com [203.205.221.205]) by mails.dpdk.org (Postfix) with ESMTP id C8AAB406A2 for ; Sun, 6 Feb 2022 04:59:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644119938; bh=KvNMi2P6ykASmo0g3Tsva7V1oGPRvx4JGFXOSWgL98g=; h=From:To:Subject:Date:In-Reply-To:References; b=DQ+6F8N7Hfr+LHF27mA4GKdj5wheLdZl1zYdpIHqhPd122SNFn0KUdX0nqpKOlkUI Pvel3hTDFdeC+msj7OlMMKPSgD0stfNgXFn57VtM553vSitph8Z2RWqzLRBRLiTPBz VFTSCcSPOduhGPXBG4LLA9ZJ8xlYwRGrwaFywN9M= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszc10.qq.com (NewEsmtp) with SMTP id EAE16474; Sun, 06 Feb 2022 11:58:46 +0800 X-QQ-mid: xmsmtpt1644119938t5pmpisr8 Message-ID: X-QQ-XMAILINFO: M2CfHm1q8SPriAfemtWtXOuRViDaz4yI6lR2eTBxXvIAJFsrgPv1A290m7RDaP CYfyAZ7QOaXwzMMyI1ERQ1rlFHds1FNnSLwa6bpKwAvXg39EnJ0HbSAuJCoUWQ2duRhGLVNx1JxS VdV9GJ7HV/QBZKL2kA8PfT+PLC8stDKINovI6x1FWTs9qhjUhhQpFhNV8kVtzTo9kQ1jfFf2zedq oZ0Ozac4rc8wLASymHvVp48foKYHuKoAN8b9qD4iiI7g+vzwIPA/drToCDg/zEQyiwZWUCHCeVj8 W2HapAau6w9GaSVPPFEkoQpmWEbuIZy25hpeLhGOhi34+Z5opSdwOurk1h6OEzNYLyw+2JKogCop /zOz+d2PmPVtqSuTTPck3dQp3oyQx9XLFEaI0hTp1U2BXPXILuQ51wCRDdja11cQ/ar0QTmuSJbg Y7dik2xV7EqnlVSuMYDHUHEEW7CXEQY+8XKrrQNKukfalw4xOGWC7VDt/bk8utjuflIV980CnYjn CI7zHx3K5UPUq70OC6KtxZEftt9q0h0EmW2rmAsGI+eyM6KztLDnVG34uMyrVglcur90a1KLA6np BUmVcPydBldnjMx0mETkZwH3m07xVXH04Gn6Lt5D0DHzhrWtQp8o3UefEUJRDurU2i9O2X2zrgXR Cg4gLKi72X1Z+PMWFsjR9vdgp2sXY+Fw5L2XYddLcZ5oHRnIFLkzGCgInAvcnHS7N/dp0t1FnS7E +Tmtw+lxgFlaLf0J1he3NeDM3V1AN7NhkvvZ6+f5ul+RfRJnoqVmIGgNViwlXTAHyR2eYfULUoAi MZsRJwKFWsGDA/grnn41gZlNVDjQrrV+dNsgeiL7/FTFKJNIfmuMWWhrscb+xBuYy4hoKwkeXkNc 2wLypE9Bo7o6n5QPSqDZMQmg4djiaNJQsTfT6SbfAO From: Weiguo Li To: dev@dpdk.org Subject: [PATCH 04/16] net/enetfec: add define guards to avoid multiple inclusion Date: Sun, 6 Feb 2022 11:58:34 +0800 X-OQ-MSGID: <20220206035846.2840462-4-liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220206035846.2840462-1-liwg06@foxmail.com> References: <20220206035846.2840462-1-liwg06@foxmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Supplement define guards to prevent multiple inclusion. Signed-off-by: Weiguo Li --- drivers/net/enetfec/enet_uio.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/enetfec/enet_uio.h b/drivers/net/enetfec/enet_uio.h index fec8ba6f95..0d5b9e7a39 100644 --- a/drivers/net/enetfec/enet_uio.h +++ b/drivers/net/enetfec/enet_uio.h @@ -2,6 +2,9 @@ * Copyright 2021 NXP */ +#ifndef _ENETFEC_UIO_H_ +#define _ENETFEC_UIO_H_ + #include "enet_ethdev.h" /* Prefix path to sysfs directory where UIO device attributes are exported. @@ -62,3 +65,5 @@ int enetfec_configure(void); int config_enetfec_uio(struct enetfec_private *fep); void enetfec_uio_init(void); void enetfec_cleanup(struct enetfec_private *fep); + +#endif /* _ENETFEC_UIO_H_ */ -- 2.25.1