summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Kernel/Devices/Audio/AC97.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Kernel/Devices/Audio/AC97.h b/Kernel/Devices/Audio/AC97.h
index c120ef1b0f..bf8178f13b 100644
--- a/Kernel/Devices/Audio/AC97.h
+++ b/Kernel/Devices/Audio/AC97.h
@@ -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 {