Kernel: Mention right parent class for AC'97's device_name

This commit is contained in:
Jelle Raaijmakers 2023-03-10 20:06:03 +01:00
parent b3b9ac6201
commit c530f74e2f
Notes: sideshowbarker 2024-07-17 02:35:27 +09:00

View file

@ -30,9 +30,11 @@ public:
virtual ~AC97() override;
// ^PCI::Device
virtual StringView device_name() const override { return "AC97"sv; }
// ^IRQHandler
virtual StringView purpose() const override { return "AC97"sv; }
virtual StringView device_name() const override { return purpose(); }
private:
enum NativeAudioMixerRegister : u8 {