diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2015-10-21 10:09:17 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-10-22 16:14:18 +0300 |
commit | 319d7f05dfb148935de46f2c7544ecf1e6332161 (patch) | |
tree | 0caa8e7c2a31d3a12570dc96bd9f0905327bc3e0 /drivers/i2c/busses/i2c-at91.c | |
parent | 8c5ec4c7ec0b58658d0fab813b9aca420b85ebfa (diff) | |
download | linux-319d7f05dfb148935de46f2c7544ecf1e6332161.tar.xz |
i2c: designware: Fix build error when !CONFIG_PM_SLEEP
Commit ("i2c: designware: Rename platform driver probe and PM
functions") introduced "'dw_i2c_plat_prepare' undeclared here" and
"'dw_i2c_plat_complete' undeclared here" build errors when
CONFIG_PM_SLEEP is not set.
Fix this by renaming NULL defined dw_i2c_prepare and dw_i2c_complete PM
hooks to dw_i2c_plat_prepare and dw_i2c_plat_complete since this was
obviously missing from the commit.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-at91.c')
0 files changed, 0 insertions, 0 deletions