acpi_bus.h (39fe5434cb9de5da40510028b17b96bc4eb312b3) | acpi_bus.h (8c8eb78f673c07b60f31751e1e47ac367c60c6b7) |
---|---|
1/* 2 * acpi_bus.h - ACPI Bus Driver ($Revision: 22 $) 3 * 4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> 5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> 6 * 7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 * --- 117 unchanged lines hidden (view full) --- 126 acpi_op_bind bind; 127 acpi_op_unbind unbind; 128 acpi_op_shutdown shutdown; 129}; 130 131struct acpi_driver { 132 char name[80]; 133 char class[80]; | 1/* 2 * acpi_bus.h - ACPI Bus Driver ($Revision: 22 $) 3 * 4 * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> 5 * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> 6 * 7 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8 * --- 117 unchanged lines hidden (view full) --- 126 acpi_op_bind bind; 127 acpi_op_unbind unbind; 128 acpi_op_shutdown shutdown; 129}; 130 131struct acpi_driver { 132 char name[80]; 133 char class[80]; |
134 char *ids; /* Supported Hardware IDs */ | 134 const struct acpi_device_id *ids; /* Supported Hardware IDs */ |
135 struct acpi_device_ops ops; 136 struct device_driver drv; 137 struct module *owner; 138}; 139 140/* 141 * ACPI Device 142 * ----------- --- 193 unchanged lines hidden (view full) --- 336int acpi_bus_receive_event(struct acpi_bus_event *event); 337int acpi_bus_register_driver(struct acpi_driver *driver); 338void acpi_bus_unregister_driver(struct acpi_driver *driver); 339int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent, 340 acpi_handle handle, int type); 341int acpi_bus_trim(struct acpi_device *start, int rmdevice); 342int acpi_bus_start(struct acpi_device *device); 343acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); | 135 struct acpi_device_ops ops; 136 struct device_driver drv; 137 struct module *owner; 138}; 139 140/* 141 * ACPI Device 142 * ----------- --- 193 unchanged lines hidden (view full) --- 336int acpi_bus_receive_event(struct acpi_bus_event *event); 337int acpi_bus_register_driver(struct acpi_driver *driver); 338void acpi_bus_unregister_driver(struct acpi_driver *driver); 339int acpi_bus_add(struct acpi_device **child, struct acpi_device *parent, 340 acpi_handle handle, int type); 341int acpi_bus_trim(struct acpi_device *start, int rmdevice); 342int acpi_bus_start(struct acpi_device *device); 343acpi_status acpi_bus_get_ejd(acpi_handle handle, acpi_handle * ejd); |
344int acpi_match_ids(struct acpi_device *device, char *ids); | 344int acpi_match_device_ids(struct acpi_device *device, 345 const struct acpi_device_id *ids); |
345int acpi_create_dir(struct acpi_device *); 346void acpi_remove_dir(struct acpi_device *); 347 348/* 349 * Bind physical devices with ACPI devices 350 */ 351#include <linux/device.h> 352struct acpi_bus_type { --- 18 unchanged lines hidden --- | 346int acpi_create_dir(struct acpi_device *); 347void acpi_remove_dir(struct acpi_device *); 348 349/* 350 * Bind physical devices with ACPI devices 351 */ 352#include <linux/device.h> 353struct acpi_bus_type { --- 18 unchanged lines hidden --- |