[PATCH v1] clk: microchip: mpfs-ccc: replace include of asm-generic/errno-base.h
Conor Dooley
conor at kernel.org
Thu Dec 14 02:59:57 PST 2023
From: Conor Dooley <conor.dooley at microchip.com>
As evidenced by the fact that only 2 other drivers include this header,
it is not a normal thing to do. Including the regular version of this
header is far more conventional for drivers.
CC: Al Viro <viro at zeniv.linux.org.uk>
Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
--
CC: Conor Dooley <conor.dooley at microchip.com>
CC: Daire McNamara <daire.mcnamara at microchip.com>
CC: Michael Turquette <mturquette at baylibre.com>
CC: Stephen Boyd <sboyd at kernel.org>
CC: linux-riscv at lists.infradead.org
CC: linux-clk at vger.kernel.org
CC: linux-kernel at vger.kernel.org
---
drivers/clk/microchip/clk-mpfs-ccc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/microchip/clk-mpfs-ccc.c b/drivers/clk/microchip/clk-mpfs-ccc.c
index bce61c45e967..3a3ea2d142f8 100644
--- a/drivers/clk/microchip/clk-mpfs-ccc.c
+++ b/drivers/clk/microchip/clk-mpfs-ccc.c
@@ -4,8 +4,8 @@
*
* Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries
*/
-#include "asm-generic/errno-base.h"
#include <linux/clk-provider.h>
+#include <linux/errno.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
--
2.39.2
More information about the linux-riscv
mailing list