|
@@ -445,6 +445,16 @@ int ec_transaction(u8 command,
|
|
|
|
|
|
EXPORT_SYMBOL(ec_transaction);
|
|
|
|
|
|
+/* Get the handle to the EC device */
|
|
|
+acpi_handle ec_get_handle(void)
|
|
|
+{
|
|
|
+ if (!first_ec)
|
|
|
+ return NULL;
|
|
|
+ return first_ec->handle;
|
|
|
+}
|
|
|
+
|
|
|
+EXPORT_SYMBOL(ec_get_handle);
|
|
|
+
|
|
|
void acpi_ec_block_transactions(void)
|
|
|
{
|
|
|
struct acpi_ec *ec = first_ec;
|