[PATCH v1 net-next] net: ocelot: fix missed include in the vsc7514_regs.h file

From: Colin Foster
Date: Wed Dec 08 2021 - 22:08:59 EST


commit 32ecd22ba60b ("net: mscc: ocelot: split register definitions to a
separate file") left out an include for <soc/mscc/ocelot_vcap.h>. It was
missed because the only consumer was ocelot_vsc7514.h, which already
included ocelot_vcap.

Fixes: 32ecd22ba60b ("net: mscc: ocelot: split register definitions to a
separate file")
Signed-off-by: Colin Foster <colin.foster@xxxxxxxxxxxxxxxx>
---
include/soc/mscc/vsc7514_regs.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/include/soc/mscc/vsc7514_regs.h b/include/soc/mscc/vsc7514_regs.h
index 98743e252012..ceee26c96959 100644
--- a/include/soc/mscc/vsc7514_regs.h
+++ b/include/soc/mscc/vsc7514_regs.h
@@ -8,6 +8,8 @@
#ifndef VSC7514_REGS_H
#define VSC7514_REGS_H

+#include <soc/mscc/ocelot_vcap.h>
+
extern const u32 vsc7514_ana_regmap[];
extern const u32 vsc7514_qs_regmap[];
extern const u32 vsc7514_qsys_regmap[];
--
2.25.1