forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
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 ****************************************************************************/