summaryrefslogtreecommitdiff
path: root/kernel/sched/Makefile
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-07-06 20:26:17 +0300
committerWolfram Sang <wsa@the-dreams.de>2017-07-08 21:51:43 +0200
commit8f1a357d41a22009150cf404b5aa5876efdb59b1 (patch)
treed68001a5f6dbcc1d275b50c276fb3ea377fdbd84 /kernel/sched/Makefile
parent6e38cf3b442120a84e69faf1ac9a7b4cd79d1ad6 (diff)
i2c: Provide a stub for i2c_detect_slave_mode()
Drivers would like to call i2c_detect_slave_mode() even if !I2C_SLAVE. Give them what they want to, Otherwise kernel will not compile: drivers/i2c/busses/i2c-designware-platdrv.c: In function ‘dw_i2c_plat_probe’: drivers/i2c/busses/i2c-designware-platdrv.c:331:6: error: implicit declaration of function ‘i2c_detect_slave_mode’ [-Werror=implicit-function-declaration] if (i2c_detect_slave_mode(&pdev->dev)) ^~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors Fixes: 6e38cf3b4421 ("i2c: designware: Let slave adapter support be optional") Reported-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'kernel/sched/Makefile')
0 files changed, 0 insertions, 0 deletions