Merge branch 'misc' into release
This commit is contained in:
@@ -523,7 +523,7 @@ static int acpi_driver_registered;
|
||||
|
||||
static int sonypi_ec_write(u8 addr, u8 value)
|
||||
{
|
||||
#ifdef CONFIG_ACPI_EC
|
||||
#ifdef CONFIG_ACPI
|
||||
if (SONYPI_ACPI_ACTIVE)
|
||||
return ec_write(addr, value);
|
||||
#endif
|
||||
@@ -539,7 +539,7 @@ static int sonypi_ec_write(u8 addr, u8 value)
|
||||
|
||||
static int sonypi_ec_read(u8 addr, u8 *value)
|
||||
{
|
||||
#ifdef CONFIG_ACPI_EC
|
||||
#ifdef CONFIG_ACPI
|
||||
if (SONYPI_ACPI_ACTIVE)
|
||||
return ec_read(addr, value);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user