forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/arch/arm/mach-orion5x/common.h
....@@ -75,6 +75,12 @@
7575 static inline void mss2_init(void) {}
7676 #endif
7777
78
+#ifdef CONFIG_MACH_D2NET_DT
79
+void d2net_init(void);
80
+#else
81
+static inline void d2net_init(void) {}
82
+#endif
83
+
7884 /*****************************************************************************
7985 * Helpers to access Orion registers
8086 ****************************************************************************/