summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fwserial/fwserial.h
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-11-07 09:22:55 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-28 23:13:35 -0800
commit3fe9f21ae88e9b8f17fb2ab48745f926b5eb54b7 (patch)
treed34c0c44d56f4f6d0393f048417d63f1bd48909a /drivers/staging/fwserial/fwserial.h
parent5cb10d42de412c69dbf3f5670b3099037c35cc78 (diff)
downloadtalos-obmc-linux-3fe9f21ae88e9b8f17fb2ab48745f926b5eb54b7.tar.gz
talos-obmc-linux-3fe9f21ae88e9b8f17fb2ab48745f926b5eb54b7.zip
Staging: fwserial: Declare fwtty_port_get as static
Declare the function fwtty_port_get as static since it is used only in this particular file. Also remove the corresponding declaration from header file. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fwserial/fwserial.h')
-rw-r--r--drivers/staging/fwserial/fwserial.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/fwserial/fwserial.h b/drivers/staging/fwserial/fwserial.h
index e13fe33a6897..6fa936501b3f 100644
--- a/drivers/staging/fwserial/fwserial.h
+++ b/drivers/staging/fwserial/fwserial.h
@@ -341,7 +341,6 @@ static const char loop_dev_name[] = "fwloop";
extern struct tty_driver *fwtty_driver;
-struct fwtty_port *fwtty_port_get(unsigned index);
/*
* Returns the max send async payload size in bytes based on the unit device
* link speed. Self-limiting asynchronous bandwidth (via reducing the payload)
OpenPOWER on IntegriCloud