From: Dinesh Maniyam <[email protected]> Switch Cadence NAND code to include <linux/mtd/rawnand.h> instead of the legacy cadence-nand.h header, aligning the driver with the raw NAND MTD API.
Signed-off-by: Dinesh Maniyam <[email protected]> --- drivers/mtd/nand/raw/cadence_spl.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/nand/raw/cadence_spl.c b/drivers/mtd/nand/raw/cadence_spl.c index 17058e49faa..145ddbcc4ae 100644 --- a/drivers/mtd/nand/raw/cadence_spl.c +++ b/drivers/mtd/nand/raw/cadence_spl.c @@ -2,12 +2,11 @@ /* * Copyright (C) 2024 Intel Corporation <www.intel.com> */ - -#include <cadence-nand.h> #include <dm.h> #include <hang.h> #include <nand.h> #include <system-constants.h> +#include <linux/mtd/rawnand.h> /* Unselect after operation */ void nand_deselect(void) -- 2.19.0

