diff options
author | Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> | 2025-09-08 17:26:45 +0530 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-09-15 15:56:00 +0200 |
commit | 54fd6bd42e7bd351802ff1d193a2e33e4bfb1836 (patch) | |
tree | db3759a18a5597b16585662ed717c174773e158c /drivers/cdx/controller/mcdi_functions.h | |
parent | 2292c8061c783e6900fcedcee388f69deab765ef (diff) |
cdx: Split mcdi.h and reorganize headers
Move bitfield.h from the CDX controller directory to include/linux/cdx to make
them accessible to other drivers.
As part of this refactoring, split mcdi.h into two headers:
- mcdi.h: retains interface-level declarations
- mcdid.h: contains internal definitions and macros
This is in preparation for VersalNET EDAC driver that relies on it.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Nikhil Agarwal <nikhil.agarwal@amd.com>
Link: https://lore.kernel.org/20250908115649.22903-1-shubhrajyoti.datta@amd.com
Diffstat (limited to 'drivers/cdx/controller/mcdi_functions.h')
-rw-r--r-- | drivers/cdx/controller/mcdi_functions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cdx/controller/mcdi_functions.h b/drivers/cdx/controller/mcdi_functions.h index b9942affdc6b..57fd1bae706b 100644 --- a/drivers/cdx/controller/mcdi_functions.h +++ b/drivers/cdx/controller/mcdi_functions.h @@ -8,7 +8,8 @@ #ifndef CDX_MCDI_FUNCTIONS_H #define CDX_MCDI_FUNCTIONS_H -#include "mcdi.h" +#include <linux/cdx/mcdi.h> +#include "mcdid.h" #include "../cdx.h" /** |