diff options
author | Hendrik Brueckner <brueckner@linux.vnet.ibm.com> | 2014-01-17 10:07:46 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-01-22 08:02:12 -0500 |
commit | 2ee13c6e98011200058686ad45219532c871afeb (patch) | |
tree | b4794541c22c878da4fdf61a7780ec1856482a0b /drivers/tty | |
parent | 964c150e99690f2cd1c05bdad62eb0bf7f8904ac (diff) |
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 <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/hvc/hvc_iucv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/hvc/hvc_iucv.c b/drivers/tty/hvc/hvc_iucv.c index db19a38c8c69..ba6b3f4b15df 100644 --- a/drivers/tty/hvc/hvc_iucv.c +++ b/drivers/tty/hvc/hvc_iucv.c | |||
@@ -126,7 +126,7 @@ static struct iucv_handler hvc_iucv_handler = { | |||
126 | * This function returns the struct hvc_iucv_private instance that corresponds | 126 | * This function returns the struct hvc_iucv_private instance that corresponds |
127 | * to the HVC virtual terminal number specified as parameter @num. | 127 | * to the HVC virtual terminal number specified as parameter @num. |
128 | */ | 128 | */ |
129 | struct hvc_iucv_private *hvc_iucv_get_private(uint32_t num) | 129 | static struct hvc_iucv_private *hvc_iucv_get_private(uint32_t num) |
130 | { | 130 | { |
131 | if ((num < HVC_IUCV_MAGIC) || (num - HVC_IUCV_MAGIC > hvc_iucv_devices)) | 131 | if ((num < HVC_IUCV_MAGIC) || (num - HVC_IUCV_MAGIC > hvc_iucv_devices)) |
132 | return NULL; | 132 | return NULL; |