1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:17:44 +00:00

LibEDID: Exclude DMT::MonitorTiming::name() from the Kernel

This API is only used by userland and it uses infallible Strings, so
let's just ifdef it out of the Kernel.
This commit is contained in:
Idan Horowitz 2022-02-15 23:30:00 +02:00 committed by Andreas Kling
parent 3219ce3d61
commit 410183a7b0
2 changed files with 8 additions and 1 deletions

View file

@ -53,7 +53,9 @@ public:
FixedPoint<16, u32> horizontal_frequency_khz() const;
FixedPoint<16, u32> vertical_frequency_hz() const;
u32 refresh_rate_hz() const;
#ifndef KERNEL
String name() const;
#endif
};
static MonitorTiming const* find_timing_by_dmt_id(u8);