diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-11-13 21:45:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-14 10:25:29 +0100 |
commit | a8bac371e7299626e3e6658023dc4db1254c1cdb (patch) | |
tree | 2bc4d6067ca62aa2f94024636e4d905b5ff88a18 /drivers/usb/mtu3/mtu3_qmu.c | |
parent | usb: xhci: move slot_id from xhci_hcd to xhci_command structure (diff) | |
download | linux-a8bac371e7299626e3e6658023dc4db1254c1cdb.tar.xz linux-a8bac371e7299626e3e6658023dc4db1254c1cdb.zip |
usb: mtu3: declare functions static
The only user of the functions mtu3_irq() and gpd_ring_empty() are in
the same file. They can be declared as static.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/mtu3/mtu3_qmu.c')
-rw-r--r-- | drivers/usb/mtu3/mtu3_qmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/mtu3/mtu3_qmu.c b/drivers/usb/mtu3/mtu3_qmu.c index a6dd292c63ec..7d9ba8a52368 100644 --- a/drivers/usb/mtu3/mtu3_qmu.c +++ b/drivers/usb/mtu3/mtu3_qmu.c @@ -168,7 +168,7 @@ static struct qmu_gpd *advance_deq_gpd(struct mtu3_gpd_ring *ring) } /* check if a ring is emtpy */ -int gpd_ring_empty(struct mtu3_gpd_ring *ring) +static int gpd_ring_empty(struct mtu3_gpd_ring *ring) { struct qmu_gpd *enq = ring->enqueue; struct qmu_gpd *next; |