summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/pnp_device.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/device/pnp_device.c b/src/device/pnp_device.c
index c58b375277..81aa8890b2 100644
--- a/src/device/pnp_device.c
+++ b/src/device/pnp_device.c
@@ -31,6 +31,19 @@ void pnp_exit_conf_mode(struct device *dev)
dev->ops->ops_pnp_mode->exit_conf_mode(dev);
}
+#if CONFIG(HAVE_ACPI_TABLES)
+void pnp_ssdt_enter_conf_mode(struct device *dev, const char *idx, const char *data)
+{
+ if (dev->ops->ops_pnp_mode && dev->ops->ops_pnp_mode->ssdt_enter_conf_mode)
+ dev->ops->ops_pnp_mode->ssdt_enter_conf_mode(dev, idx, data);
+}
+void pnp_ssdt_exit_conf_mode(struct device *dev, const char *idx, const char *data)
+{
+ if (dev->ops->ops_pnp_mode && dev->ops->ops_pnp_mode->ssdt_exit_conf_mode)
+ dev->ops->ops_pnp_mode->ssdt_exit_conf_mode(dev, idx, data);
+}
+#endif
+
/* PNP fundamental operations */
void pnp_write_config(struct device *dev, u8 reg, u8 value)