From b96004fd71f90c2d2cfd1b808412c92af9d573c6 Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Tue, 25 Apr 2023 04:20:27 +0200 Subject: [PATCH] nvme_drv: fix build errors with gcc 12 Fixes #4845 --- repos/os/src/drivers/nvme/main.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repos/os/src/drivers/nvme/main.cc b/repos/os/src/drivers/nvme/main.cc index 6797e2b777..634d80539b 100644 --- a/repos/os/src/drivers/nvme/main.cc +++ b/repos/os/src/drivers/nvme/main.cc @@ -578,6 +578,8 @@ class Nvme::Controller : Platform::Device, Platform::Device::Mmio, Platform::Device::Irq { + using Mmio = Genode::Mmio; + public: /**********