1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

inherit from device interface

Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
Pascal Bauer 2024-08-23 20:18:22 +02:00 committed by Niklas Eiling
parent 201a5f27c7
commit b5f5e51bee

View file

@ -15,6 +15,8 @@
#include <villas/log.hpp>
#include <villas/kernel/devices/device.hpp>
namespace villas {
namespace kernel {
namespace devices {
@ -58,7 +60,7 @@ struct Region {
unsigned long long flags;
};
class PciDevice {
class PciDevice : public Device {
public:
PciDevice(Id i, Slot s) : id(i), slot(s), log(Log::get("kernel:pci")) {}