mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
lib_ppc/interrupts.c: make board_show_activity() a weak function
This allows to use show_activity() without having to define an empty board_show_activity() function. Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
fe876787f8
commit
aab2bf0202
1 changed files with 6 additions and 1 deletions
|
@ -32,7 +32,12 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SHOW_ACTIVITY
|
#ifdef CONFIG_SHOW_ACTIVITY
|
||||||
extern void board_show_activity (ulong);
|
void board_show_activity (ulong) __attribute__((weak, alias("__board_show_activity")));
|
||||||
|
|
||||||
|
void __board_show_activity (ulong dummy)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
#endif /* CONFIG_SHOW_ACTIVITY */
|
#endif /* CONFIG_SHOW_ACTIVITY */
|
||||||
|
|
||||||
#ifndef CFG_WATCHDOG_FREQ
|
#ifndef CFG_WATCHDOG_FREQ
|
||||||
|
|
Loading…
Add table
Reference in a new issue