From 50b336891d57eacd64cd11f3e3e9849399230354 Mon Sep 17 00:00:00 2001 From: Pascal Bauer Date: Mon, 26 Aug 2024 13:11:02 +0200 Subject: [PATCH] adjust to driver rework --- fpga/lib/platform_card.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fpga/lib/platform_card.cpp b/fpga/lib/platform_card.cpp index 90ed66aa3..531b20e24 100644 --- a/fpga/lib/platform_card.cpp +++ b/fpga/lib/platform_card.cpp @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -47,8 +48,8 @@ void PlatformCard::connectVFIOtoIps( matcher.match(); // Bind device to platform driver - auto driver = - Driver(std::filesystem::path("/sys/bus/platform/drivers/vfio-platform")); + auto driver = GenericDriver( + std::filesystem::path("/sys/bus/platform/drivers/vfio-platform")); for (auto pair : device_ip_pair) { auto device = pair.second; driver.attach(device);