diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-05-31 00:31:49 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-06-01 00:21:00 +0300 |
commit | 53e39628ac228fada53cc0106be62c6f65f67501 (patch) | |
tree | 8f1764f397c420fb79d018245dd412312083fbc9 /drivers/mfd/sm501.c | |
parent | 535ba90472da812a55e5b95d30a916597c4f5f90 (diff) | |
download | linux-53e39628ac228fada53cc0106be62c6f65f67501.tar.xz |
i2c: qup: fix building without CONFIG_ACPI
The added Centriq support broke compilation with CONFIG_ACPI disabled:
drivers/i2c/busses/i2c-qup.c: In function 'qup_i2c_probe':
drivers/i2c/busses/i2c-qup.c:1707:25: error: 'qup_i2c_acpi_match' undeclared (first use in this function); did you mean 'qup_i2c_recv_data'?
This fixes it by removing the extraneous #ifdef. All ACPI specific
code will be dropped implicitly when that option is disabled, but
the compiler first needs to see it.
Fixes: 902a91a02bdf ("i2c: qup: add probe path for Centriq ACPI devices")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Austin Christ <austinwc@codeaurora.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/mfd/sm501.c')
0 files changed, 0 insertions, 0 deletions