Armada7k8k/RealTimeClockLib: hide LibRtcVirtualNotifyEvent
The RealTimeClockLib class header in edk2 mistakenly declares a function called LibRtcVirtualNotifyEvent(). No component ever calls this function crossing module boundaries; all RealTimeClockLib instances in edk2 and edk2-platforms are supposed to register (and do register) their SetVirtualAddressMap() notification functions. Rename LibRtcVirtualNotifyEvent() to VirtualNotifyEvent(), and make it static, in preparation for removing the LibRtcVirtualNotifyEvent() declaration from the lib class header later. Also hoist the function definition above the reference. Build-tested only, with the following platforms: - Platform/Marvell/Armada70x0Db/Armada70x0Db.dsc - Platform/Marvell/Armada80x0Db/Armada80x0Db.dsc - Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc - Platform/SolidRun/Cn913xCEx7Eval/Cn913xCEx7Eval.dsc ("Platform/Marvell/Cn913xDb/Cn913xDbA.dsc" fails to build regardless: "build" complains that "Silicon/Marvell/OcteonTx/DeviceTree/T91/$(PLATFORM_NAME).inf" is missing, and as far as I can see, not even the "Silicon/Marvell/OcteonTx/DeviceTree" directory exists.) Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Marcin Wojtas <mw@semihalf.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=4564 Signed-off-by:Laszlo Ersek <lersek@redhat.com> Reviewed-by:
Ard Biesheuvel <ardb@kernel.org>
Loading
Please register or sign in to comment