diff options
| author | Sakari Ailus <[email protected]> | 2017-06-06 09:37:36 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2017-06-22 00:55:34 +0000 |
| commit | cde1f95f407a593ad6baf1b7b01daa2c6cbd34fd (patch) | |
| tree | 2797687bbdb77a7a23b39b3d55dd955bf42bdfcc /drivers/acpi/internal.h | |
| parent | Merge branch 'dt/property-move' of git://git.kernel.org/pub/scm/linux/kernel/... (diff) | |
| download | kernel-cde1f95f407a593ad6baf1b7b01daa2c6cbd34fd.tar.gz kernel-cde1f95f407a593ad6baf1b7b01daa2c6cbd34fd.zip | |
ACPI: Constify argument to acpi_device_is_present()
This will be needed in constifying the fwnode API.
The side effects the function had have been moved to the callers.
Signed-off-by: Sakari Ailus <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/internal.h')
| -rw-r--r-- | drivers/acpi/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/internal.h b/drivers/acpi/internal.h index 66229ffa909b..73002402c461 100644 --- a/drivers/acpi/internal.h +++ b/drivers/acpi/internal.h @@ -111,7 +111,7 @@ int acpi_device_setup_files(struct acpi_device *dev); void acpi_device_remove_files(struct acpi_device *dev); void acpi_device_add_finalize(struct acpi_device *device); void acpi_free_pnp_ids(struct acpi_device_pnp *pnp); -bool acpi_device_is_present(struct acpi_device *adev); +bool acpi_device_is_present(const struct acpi_device *adev); bool acpi_device_is_battery(struct acpi_device *adev); bool acpi_device_is_first_physical_node(struct acpi_device *adev, const struct device *dev); |
