mirror of https://github.com/acidanthera/audk.git
OvmfPkg/VirtioMmioDeviceLib: improve style of mMmioDeviceProtocolTemplate
In edk2, we spell "static" "STATIC", plus objects with static storage duration (esp. protocol templates) should be const-qualified (spelled "CONST") whenever possible. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
a3d7ae2ed8
commit
4120bb498f
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "VirtioMmioDevice.h"
|
||||
|
||||
static VIRTIO_DEVICE_PROTOCOL mMmioDeviceProtocolTemplate = {
|
||||
STATIC CONST VIRTIO_DEVICE_PROTOCOL mMmioDeviceProtocolTemplate = {
|
||||
0, // Revision
|
||||
0, // SubSystemDeviceId
|
||||
VirtioMmioGetDeviceFeatures, // GetDeviceFeatures
|
||||
|
|
Loading…
Reference in New Issue