summaryrefslogtreecommitdiffstats
path: root/drivers/ps3/ps3-vuart.c
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2015-01-13 02:00:20 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2015-01-22 07:31:21 +0100
commit6baa5ecd6e9631a71423578a4a95dc8b179df386 (patch)
tree473fb6708e99a20aa8dad3b96b302c07e71b7f86 /drivers/ps3/ps3-vuart.c
parentpowerpc/ps3: Write highmem info to repository (diff)
downloadlinux-6baa5ecd6e9631a71423578a4a95dc8b179df386.tar.xz
linux-6baa5ecd6e9631a71423578a4a95dc8b179df386.zip
powerpc/ps3: Fix vuart sparse warnings
Fix sparse warnings like these: drivers/ps3/ps3-vuart.c: warning: symbol 'ps3_vuart_disable_interrupt_tx' was not declared. Should it be static? Signed-off-by: Geoff Levand <geoff@infradead.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/ps3/ps3-vuart.c')
-rw-r--r--drivers/ps3/ps3-vuart.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ps3/ps3-vuart.c b/drivers/ps3/ps3-vuart.c
index bc1e5139ba29..d6db822bef84 100644
--- a/drivers/ps3/ps3-vuart.c
+++ b/drivers/ps3/ps3-vuart.c
@@ -151,11 +151,6 @@ static void __maybe_unused _dump_port_params(unsigned int port_number,
#endif
}
-struct vuart_triggers {
- unsigned long rx;
- unsigned long tx;
-};
-
int ps3_vuart_get_triggers(struct ps3_system_bus_device *dev,
struct vuart_triggers *trig)
{