Home
last modified time | relevance | path

Searched hist:"03 bd48102b575a9c86eed73866a5f9cd4d03e2d5" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/drivers/console/
H A Dmulti_console.c03bd48102b575a9c86eed73866a5f9cd4d03e2d5 Fri Dec 09 13:30:55 UTC 2022 Yann Gautier <yann.gautier@st.com> fix(console): correct scopes for console symbols

console_state is only used in multi_console.c, it is then declared as
static. console_list is used by several files, declare it as extern.
This corrects the 2 sparse warnings:
drivers/console/multi_console.c:13:11: warning: symbol 'console_list'
was not declared. Should it be static?
drivers/console/multi_console.c:14:9: warning: symbol 'console_state'
was not declared. Should it be static?

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: Id1891595906c258e8cb8aa325226f0a43723ca0e
/rk3399_ARM-atf/include/drivers/
H A Dconsole.h03bd48102b575a9c86eed73866a5f9cd4d03e2d5 Fri Dec 09 13:30:55 UTC 2022 Yann Gautier <yann.gautier@st.com> fix(console): correct scopes for console symbols

console_state is only used in multi_console.c, it is then declared as
static. console_list is used by several files, declare it as extern.
This corrects the 2 sparse warnings:
drivers/console/multi_console.c:13:11: warning: symbol 'console_list'
was not declared. Should it be static?
drivers/console/multi_console.c:14:9: warning: symbol 'console_state'
was not declared. Should it be static?

Signed-off-by: Yann Gautier <yann.gautier@st.com>
Change-Id: Id1891595906c258e8cb8aa325226f0a43723ca0e