|
@@ -84,7 +84,7 @@ static inline int of_platform_populate(struct device_node *root,
|
|
static inline void of_platform_depopulate(struct device *parent) { }
|
|
static inline void of_platform_depopulate(struct device *parent) { }
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-#ifdef CONFIG_OF_DYNAMIC
|
|
|
|
|
|
+#if defined(CONFIG_OF_DYNAMIC) && defined(CONFIG_OF_ADDRESS)
|
|
extern void of_platform_register_reconfig_notifier(void);
|
|
extern void of_platform_register_reconfig_notifier(void);
|
|
#else
|
|
#else
|
|
static inline void of_platform_register_reconfig_notifier(void) { }
|
|
static inline void of_platform_register_reconfig_notifier(void) { }
|