mirror of https://gitee.com/openkylin/linux.git
w1: w1_therm: correct function name bulk_read_support()
Fix the following make W=1 kernel build warning: drivers/w1/slaves/w1_therm.c:843: warning: expecting prototype for support_bulk_read(). Prototype was for bulk_read_support() instead Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20210518050401.615648-1-yangyingliang@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8c55a99dc7
commit
6a072b2e37
|
@ -834,7 +834,7 @@ static int check_family_data(struct w1_slave *sl)
|
|||
}
|
||||
|
||||
/**
|
||||
* support_bulk_read() - check if slave support bulk read
|
||||
* bulk_read_support() - check if slave support bulk read
|
||||
* @sl: device to check the ability
|
||||
*
|
||||
* Return: true if bulk read is supported, false if not or error
|
||||
|
|
Loading…
Reference in New Issue