]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/acpi.h
ACPI / drivers: fix typo in ACPI_DECLARE_PROBE_ENTRY macro
[linux.git] / include / linux / acpi.h
index db7c8bd39a3cb661cf5b7b74417fce997f9f2a20..c5eaf2f80a4c4c76c9cd6029e8e67e0d8d0449c2 100644 (file)
@@ -608,6 +608,12 @@ static inline struct acpi_data_node *to_acpi_data_node(struct fwnode_handle *fwn
        return NULL;
 }
 
+static inline bool acpi_data_node_match(struct fwnode_handle *fwnode,
+                                       const char *name)
+{
+       return false;
+}
+
 static inline struct fwnode_handle *acpi_fwnode_handle(struct acpi_device *adev)
 {
        return NULL;
@@ -1050,7 +1056,7 @@ static inline struct fwnode_handle *acpi_get_next_subnode(struct device *dev,
        return NULL;
 }
 
-#define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, validate, data, fn) \
+#define ACPI_DECLARE_PROBE_ENTRY(table, name, table_id, subtable, valid, data, fn) \
        static const void * __acpi_table_##name[]                       \
                __attribute__((unused))                                 \
                 = { (void *) table_id,                                 \