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 9FE26A034E; Wed, 9 Feb 2022 04:02:49 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2F6DE41101; Wed, 9 Feb 2022 04:02:49 +0100 (CET) Received: from out203-205-251-60.mail.qq.com (out203-205-251-60.mail.qq.com [203.205.251.60]) by mails.dpdk.org (Postfix) with ESMTP id 979F44067E for ; Wed, 9 Feb 2022 04:02:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644375763; bh=ospbQN0lZ01bUbtRi3Bt9Dt8Cz0emUipseWaJjZdsZc=; h=From:To:Subject:Date:In-Reply-To:References; b=MQLUJzvvh7ZfMHXnXxubT/+Pekvh+nx63GAvcBmIONw58TD8+7r3kWDnaY3kPTALs anNOj1Kbfi8LmK7Lif3Ojuwg74yHYQaoBEOBjm7eGxgFcnZcikedQ3c5BjGgUtw4z1 uyh6PUEeDwwTVSalIFtK+VuPz1mM5vVIHbOMxIjI= Received: from liwg-ubuntu.lan ([111.193.130.237]) by newxmesmtplogicsvrszb7.qq.com (NewEsmtp) with SMTP id 98A6079; Wed, 09 Feb 2022 11:02:24 +0800 X-QQ-mid: xmsmtpt1644375762tssp9q80x Message-ID: X-QQ-XMAILINFO: NYYRzVG8VqwYc+AS9vcHDRUC54gP9S5NBLJQ+crE6I24SrjX8UlQ6ltynt3mTO PK73adCmH+gZQIZFWbkhxdcgJ4BZ/sKklOXxKXRagwEeJczRr0V2LEGr2bdiZ8pWAKlCVsg0oW8S ego+GuLI4mNw1/YgOioYpztWlrfm0oB7pQYi893zXIbHwhtXCYYM9tmzRLeUyxnyyEbcfFBv9DVK qfbCjJpfuEI5Tlbcde+mzKQVFRX/y6kQmvJjL8m1bmI4fS47s5Jw8xeaknF0Y1yz/IBgsD5+NDbT mkRk9DmZbeKAJHcl93ugzhfWyC2Z0IPTHP0ZtAJ55lKrTPppczUDpqxiGc6NQTMK0g7qeci+CiNK YvTPF79gJoW0CdYtopiLpyhWcuP/xnI//wHMt/xKsErBHtW9LllV+WSKlIXip+j0jMxo9qQAazzL chenHwy/uD3mArOwE3hzP9WTnWk3A4dUP9w6rC5X/PCIY76lZoj/66sJddp0kIMJr3yVN64321mT /4G84KVtVTd7YQs0IkWMxCZtsrjXyIRD82wzwjC/XzZAqPGnHvyfKJHQeYO3IKmTjeF8IRgF6n1X 4lAFI2kW5NcHclVl9ziThqFQRT7EbLoI7GcpGKmHYKSYiB3hd2/h55DfTK0yvqOlgBowktMeim59 g2vY3Hg1S2/T5oW/ogXmtqGeJ6zTJIoXgG8wp+BC11zrVBPEgcTsnHeXv+7BH2uqDop87+2TcOqL feii0aPIprYXytsY8RuaUnHRLvFoMghelWcyQ7xK5ufvC3i03EROLlnA58ZEq6hZFo9+/9ICXrgx rsH3NExo/s7sRnlQhyvmN+XT3R+mubXPo0+TVuJojCA+/mDio43JgE From: Weiguo Li To: dev@dpdk.org Subject: [PATCH v2 01/16] bus/dpaa: add define guards to avoid multi-inclusion Date: Wed, 9 Feb 2022 11:02:09 +0800 X-OQ-MSGID: <03f502f9083981e761b5ea43509ce4003ccfbfad.1644374873.git.liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: 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 --- v2: * update to a simple guard style --- drivers/bus/dpaa/base/qbman/qman.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/bus/dpaa/base/qbman/qman.h b/drivers/bus/dpaa/base/qbman/qman.h index 4346d86537..3928446d19 100644 --- a/drivers/bus/dpaa/base/qbman/qman.h +++ b/drivers/bus/dpaa/base/qbman/qman.h @@ -5,6 +5,9 @@ * */ +#ifndef QBMAN_QMAN_H +#define QBMAN_QMAN_H + #include "qman_priv.h" /***************************/ @@ -911,3 +914,5 @@ static inline void __qm_isr_write(struct qm_portal *portal, enum qm_isr_reg n, __qm_out(&portal->addr, QM_REG_ISR + (n << 2), val); #endif } + +#endif /* QBMAN_QMAN_H */ -- 2.25.1