mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
powerpc/rtas: unexport 'rtas' symbol
No modular code needs access to the 'rtas' struct, so remove the symbol export. Suggested-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20230124140448.45938-2-nathanl@linux.ibm.com
This commit is contained in:
committed by
Michael Ellerman
parent
ff7c76f66d
commit
5ff92e2f27
@@ -63,7 +63,6 @@ static inline void do_enter_rtas(unsigned long args)
|
||||
struct rtas_t rtas = {
|
||||
.lock = __ARCH_SPIN_LOCK_UNLOCKED
|
||||
};
|
||||
EXPORT_SYMBOL(rtas);
|
||||
|
||||
DEFINE_SPINLOCK(rtas_data_buf_lock);
|
||||
EXPORT_SYMBOL(rtas_data_buf_lock);
|
||||
|
||||
Reference in New Issue
Block a user