|
@@ -131,7 +131,7 @@ struct acpi_device_ops {
|
|
struct acpi_driver {
|
|
struct acpi_driver {
|
|
char name[80];
|
|
char name[80];
|
|
char class[80];
|
|
char class[80];
|
|
- char *ids; /* Supported Hardware IDs */
|
|
|
|
|
|
+ const struct acpi_device_id *ids; /* Supported Hardware IDs */
|
|
struct acpi_device_ops ops;
|
|
struct acpi_device_ops ops;
|
|
struct device_driver drv;
|
|
struct device_driver drv;
|
|
struct module *owner;
|
|
struct module *owner;
|
|
@@ -341,7 +341,8 @@ int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent,
|
|
int acpi_bus_trim(struct acpi_device *start, int rmdevice);
|
|
int acpi_bus_trim(struct acpi_device *start, int rmdevice);
|
|
int acpi_bus_start(struct acpi_device *device);
|
|
int acpi_bus_start(struct acpi_device *device);
|
|
acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd);
|
|
acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd);
|
|
-int acpi_match_ids(struct acpi_device *device, char *ids);
|
|
|
|
|
|
+int acpi_match_device_ids(struct acpi_device *device,
|
|
|
|
+ const struct acpi_device_id *ids);
|
|
int acpi_create_dir(struct acpi_device *);
|
|
int acpi_create_dir(struct acpi_device *);
|
|
void acpi_remove_dir(struct acpi_device *);
|
|
void acpi_remove_dir(struct acpi_device *);
|
|
|
|
|