]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - include/acpi/acpi_bus.h
ACPI / glue: Add .match() callback to struct acpi_bus_type
[karo-tx-linux.git] / include / acpi / acpi_bus.h
index e65278f560c40593e5a3f6fd8b520d5fce3f4468..c751d7de3a5f462980a083821d856a2afb2f6d90 100644 (file)
@@ -437,7 +437,8 @@ void acpi_remove_dir(struct acpi_device *);
  */
 struct acpi_bus_type {
        struct list_head list;
-       struct bus_type *bus;
+       const char *name;
+       bool (*match)(struct device *dev);
        /* For general devices under the bus */
        int (*find_device) (struct device *, acpi_handle *);
        /* For bridges, such as PCI root bridge, IDE controller */