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 590A0A034E; Sun, 6 Feb 2022 04:59:02 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8B5B4069D; Sun, 6 Feb 2022 04:59:01 +0100 (CET) Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) by mails.dpdk.org (Postfix) with ESMTP id 3D0DF40042 for ; Sun, 6 Feb 2022 04:58:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1644119936; bh=pzKhGVdD9gqF86X6mY+zh13WGO5IwL8BNRIIiY+2tXo=; h=From:To:Subject:Date; b=MQaCWaGCze0Zx4lAYNbxP9rpWCA61KbZ1eUoIK1uYwDQrjbLWbBb0PJQ+invf32uq OZwZwIp9SBbbwQEyAl6gK3LU/MHzVz5dVC/JNTxxct7713b3pRv1FsgARS1DEhwIi4 kxhSnb1HhGT1yo6wyzN7K8ZFD7PArQZfBNDO+AyE= 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: xmsmtpt1644119926tes62v34r Message-ID: X-QQ-XMAILINFO: NzOHSugmTg7XgVgLxEa8YN5wZaRgpSFOSRgu71QDj19MuK8vgm30aQIcIGRp7I RBLT4h34L7XpU2nLqiDcwLHZodwOiMMstaewoBptZ/X9N5PLY5j1WetIDnSV/yAmPOJdRuzVyNgY RMMFomSmYR6pt/wmIK6Ftm8stJX/kl2Kfh8HvevgoMk/pHKml+RotQM8YeF6dlA7PhOW8x02dBoQ /mV0OMcNu/LU34QB7gmUJgoo/kixMCRKKKmVn6WbPAcbrfAoIurmakIzqdluRR57QOn7TQm2iCNB vZFhTcnK7WNxArekDzVdCdq/8EiSplu+GBhpZvJEnFSC6Uye78ZVbktHkF/lYl7fAwirZHLAfI9I Kjjq5cBaiddsfmqVEiFjLFjrzRWH4AtAKCik46fZI2u1pmL6LfCDNoJmi06/Of1D2mtRcFq6/crJ Uy+7cRCIYKDf365iPJVHQM5FKNmNmrGeT9Wnxo5HNvOcsFcWjxXC9N3o0M1HP70SLRUfCtzeZoSn jIsOBJZ2akbrGl9ItV4vIb4rhV65UoVzzyKUj9Jcawdixx4F3auxZQruzuLVNvdPH1Aq5wguI6K0 E92yGvX1LihMATvYdJc1Ova+xCL3UiPDq2b3/LpBKJPPbF9CQmNh5AycKCebVzNz5JqOWU63246p G/nYfLYvXa6wyjnmPJcx+BZ2B8ZaarfsCgmXpKiVIbYpnMV676xzh3oATQWTvtJuSwQK/SRnqNA2 oR8dFOCAdnvqBrntQVBowZ2yrnZLE5ljwWdXNIEq0I33Rjws6vPgELxQ8NQJcV2sdLH+5ZlklUnd QGpT83uSuTKYChyEW/efV6n0XFxMNtfozCX8d+YhEnto34SoFfhoXAlKEiQtHxyUf0Mga7kOlQoQ == From: Weiguo Li To: dev@dpdk.org Subject: [PATCH 01/16] bus/dpaa: add define guards to avoid multiple inclusion Date: Sun, 6 Feb 2022 11:58:31 +0800 X-OQ-MSGID: <20220206035846.2840462-1-liwg06@foxmail.com> X-Mailer: git-send-email 2.25.1 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/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..19be738424 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