diff options
Diffstat (limited to 'drivers/acpi')
| -rw-r--r-- | drivers/acpi/i2c_ec.c | 2 | ||||
| -rw-r--r-- | drivers/acpi/osl.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/i2c_ec.c b/drivers/acpi/i2c_ec.c index 6809c283ec58..6342e612c203 100644 --- a/drivers/acpi/i2c_ec.c +++ b/drivers/acpi/i2c_ec.c | |||
| @@ -293,7 +293,7 @@ static u32 acpi_ec_smb_func(struct i2c_adapter *adapter) | |||
| 293 | I2C_FUNC_SMBUS_I2C_BLOCK | I2C_FUNC_SMBUS_HWPEC_CALC); | 293 | I2C_FUNC_SMBUS_I2C_BLOCK | I2C_FUNC_SMBUS_HWPEC_CALC); |
| 294 | } | 294 | } |
| 295 | 295 | ||
| 296 | static struct i2c_algorithm acpi_ec_smbus_algorithm = { | 296 | static const struct i2c_algorithm acpi_ec_smbus_algorithm = { |
| 297 | .smbus_xfer = acpi_ec_smb_access, | 297 | .smbus_xfer = acpi_ec_smb_access, |
| 298 | .functionality = acpi_ec_smb_func, | 298 | .functionality = acpi_ec_smb_func, |
| 299 | }; | 299 | }; |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 507f051d1cef..20beea778ea2 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
| @@ -1079,7 +1079,7 @@ acpi_status acpi_os_purge_cache(acpi_cache_t * cache) | |||
| 1079 | 1079 | ||
| 1080 | acpi_status acpi_os_delete_cache(acpi_cache_t * cache) | 1080 | acpi_status acpi_os_delete_cache(acpi_cache_t * cache) |
| 1081 | { | 1081 | { |
| 1082 | (void)kmem_cache_destroy(cache); | 1082 | kmem_cache_destroy(cache); |
| 1083 | return (AE_OK); | 1083 | return (AE_OK); |
| 1084 | } | 1084 | } |
| 1085 | 1085 | ||
