Skip to content

Commit 1bef42c

Browse files
GuEe-GUIRbb666
authored andcommitted
[DM/FIXUP] remove some redundant INIT_EXPORT
Signed-off-by: GuEe-GUI <[email protected]>
1 parent b6f6728 commit 1bef42c

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

include/rtdef.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,15 +180,10 @@ typedef int (*init_fn_t)(void);
180180

181181
/* init cpu, memory, interrupt-controller, bus... */
182182
#define INIT_CORE_EXPORT(fn) INIT_EXPORT(fn, "1.0")
183-
/* init pci/pcie, usb platform driver... */
184-
#define INIT_FRAMEWORK_EXPORT(fn) INIT_EXPORT(fn, "1.1")
183+
/* init sys-timer, clk, pinctrl... */
184+
#define INIT_SUBSYS_EXPORT(fn) INIT_EXPORT(fn, "1.1")
185185
/* init platform, user code... */
186186
#define INIT_PLATFORM_EXPORT(fn) INIT_EXPORT(fn, "1.2")
187-
/* init sys-timer, clk, pinctrl... */
188-
#define INIT_SUBSYS_EARLY_EXPORT(fn) INIT_EXPORT(fn, "1.3.0")
189-
#define INIT_SUBSYS_EXPORT(fn) INIT_EXPORT(fn, "1.3.1")
190-
/* init early drivers */
191-
#define INIT_DRIVER_EARLY_EXPORT(fn) INIT_EXPORT(fn, "1.4")
192187

193188
/* pre/device/component/env/app init routines will be called in init_thread */
194189
/* components pre-initialization (pure software initialization) */

libcpu/aarch64/common/psci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,4 +415,4 @@ static int psci_drv_register(void)
415415

416416
return 0;
417417
}
418-
INIT_FRAMEWORK_EXPORT(psci_drv_register);
418+
INIT_PLATFORM_EXPORT(psci_drv_register);

0 commit comments

Comments
 (0)