summaryrefslogtreecommitdiffhomepage
path: root/dev/Mod/ACPI
diff options
context:
space:
mode:
Diffstat (limited to 'dev/Mod/ACPI')
-rw-r--r--dev/Mod/ACPI/ACPIFactoryInterface.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/dev/Mod/ACPI/ACPIFactoryInterface.h b/dev/Mod/ACPI/ACPIFactoryInterface.h
index eb8d7353..d398b2b7 100644
--- a/dev/Mod/ACPI/ACPIFactoryInterface.h
+++ b/dev/Mod/ACPI/ACPIFactoryInterface.h
@@ -21,7 +21,7 @@ namespace NeOS
typedef ACPIFactoryInterface PowerFactoryInterface;
- class ACPIFactoryInterface final : public PowerFactory
+ class ACPIFactoryInterface final NE_POWER_FACTORY
{
public:
explicit ACPIFactoryInterface(voidPtr rsp_ptr);
@@ -47,10 +47,7 @@ namespace NeOS
bool Checksum(const Char* checksum, SSizeT len); // watch for collides!
public:
- ErrorOr<voidPtr> operator[](const Char* signature)
- {
- return this->Find(signature);
- }
+ ErrorOr<voidPtr> operator[](const Char* signature);
private:
VoidPtr fRsdp{nullptr}; // pointer to root descriptor.