diff options
Diffstat (limited to 'include/linux/acpi.h')
| -rw-r--r-- | include/linux/acpi.h | 16 | 
1 files changed, 2 insertions, 14 deletions
| diff --git a/include/linux/acpi.h b/include/linux/acpi.h index fd8849ae4a8e..640f1c07c894 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -70,19 +70,6 @@ static inline void acpi_free_fwnode_static(struct fwnode_handle *fwnode)  	kfree(fwnode);  } -/** - * ACPI_DEVICE_CLASS - macro used to describe an ACPI device with - * the PCI-defined class-code information - * - * @_cls : the class, subclass, prog-if triple for this device - * @_msk : the class mask for this device - * - * This macro is used to create a struct acpi_device_id that matches a - * specific PCI class. The .id and .driver_data fields will be left - * initialized with the default value. - */ -#define ACPI_DEVICE_CLASS(_cls, _msk)	.cls = (_cls), .cls_msk = (_msk), -  static inline bool has_acpi_companion(struct device *dev)  {  	return is_acpi_device_node(dev->fwnode); @@ -414,6 +401,8 @@ extern bool acpi_is_pnp_device(struct acpi_device *);  typedef void (*wmi_notify_handler) (u32 value, void *context); +int wmi_instance_count(const char *guid); +  extern acpi_status wmi_evaluate_method(const char *guid, u8 instance,  					u32 method_id,  					const struct acpi_buffer *in, @@ -780,7 +769,6 @@ const char *acpi_get_subsystem_id(acpi_handle handle);  #define ACPI_COMPANION_SET(dev, adev)	do { } while (0)  #define ACPI_HANDLE(dev)		(NULL)  #define ACPI_HANDLE_FWNODE(fwnode)	(NULL) -#define ACPI_DEVICE_CLASS(_cls, _msk)	.cls = (0), .cls_msk = (0),  #include <acpi/acpi_numa.h> |