From 42041a428c2895aeb2d36854b92d9e7addd91e10 Mon Sep 17 00:00:00 2001 From: lipengfei28 Date: Tue, 8 Oct 2024 20:12:51 +0800 Subject: [PATCH] include/nuttx.h: add common align definitions for nuttx Signed-off-by: lipengfei28 --- drivers/pci/pci_epf.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/pci/pci_epf.c b/drivers/pci/pci_epf.c index 8b9ba80a5f..c748cf0306 100644 --- a/drivers/pci/pci_epf.c +++ b/drivers/pci/pci_epf.c @@ -22,24 +22,17 @@ * Included Files ****************************************************************************/ -#include #include #include #include +#include #include +#include #include #include #include -/**************************************************************************** - * Pre-processor Definitions - ****************************************************************************/ - -#ifndef ALIGN_UP -# define ALIGN_UP(s, a) (((s) + (a) - 1) & ~((a) - 1)) -#endif - /**************************************************************************** * Private Data ****************************************************************************/