mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
s390/hvc_iucv: fix sparse warning
drivers/tty/hvc/hvc_iucv.c:131:25: warning: symbol 'hvc_iucv_get_private' was not declared. Should it be static? Signed-off-by: Hendrik Brueckner <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
964c150e99
commit
2ee13c6e98
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ static struct iucv_handler hvc_iucv_handler = {
|
|||
* This function returns the struct hvc_iucv_private instance that corresponds
|
||||
* to the HVC virtual terminal number specified as parameter @num.
|
||||
*/
|
||||
struct hvc_iucv_private *hvc_iucv_get_private(uint32_t num)
|
||||
static struct hvc_iucv_private *hvc_iucv_get_private(uint32_t num)
|
||||
{
|
||||
if ((num < HVC_IUCV_MAGIC) || (num - HVC_IUCV_MAGIC > hvc_iucv_devices))
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue