diff options
Diffstat (limited to 'arch/x86_64/arch/devices/legacy_pit.cpp')
| -rw-r--r-- | arch/x86_64/arch/devices/legacy_pit.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86_64/arch/devices/legacy_pit.cpp b/arch/x86_64/arch/devices/legacy_pit.cpp index d542d475..d93b38fd 100644 --- a/arch/x86_64/arch/devices/legacy_pit.cpp +++ b/arch/x86_64/arch/devices/legacy_pit.cpp @@ -6,7 +6,6 @@ #include <kapi/devices/device.hpp> #include <kapi/interrupts.hpp> -#include <cstddef> #include <cstdint> namespace arch::devices @@ -23,8 +22,8 @@ namespace arch::devices constexpr auto square_wave_mode = 0x36; } // namespace - legacy_pit::legacy_pit(std::size_t major, std::uint32_t frequency_in_hz) - : kapi::devices::device{major, 0, "legacy_pit"} + legacy_pit::legacy_pit(std::uint32_t frequency_in_hz) + : kapi::devices::device{"legacy_pit"} , m_irq_number{0} , m_frequency_in_hz{frequency_in_hz} {} |
