summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/line.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-09-10 14:39:18 +0200
committerRichard Weinberger <richard@nod.at>2012-03-25 00:29:54 +0100
commit10c890c0a303070652f5374ea31a0b29350d14d9 (patch)
tree34077d8fb7d8d81d761f2c28021310ce821f4ceb /arch/um/drivers/line.c
parentum: race fix: initialize delayed_work *before* registering IRQ (diff)
downloadlinux-10c890c0a303070652f5374ea31a0b29350d14d9.tar.xz
linux-10c890c0a303070652f5374ea31a0b29350d14d9.zip
um: switch close_chan() to struct line
... and switch chan_interrupt() to directly calling close_one_chan(), so we can lose delay_free_irq argument of close_chan() as well. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to '')
-rw-r--r--arch/um/drivers/line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/line.c b/arch/um/drivers/line.c
index 9299b8a2d171..4a3c853689a3 100644
--- a/arch/um/drivers/line.c
+++ b/arch/um/drivers/line.c
@@ -465,7 +465,7 @@ void close_lines(struct line *lines, int nlines)
int i;
for(i = 0; i < nlines; i++)
- close_chan(&lines[i].chan_list, 0);
+ close_chan(&lines[i]);
}
int setup_one_line(struct line *lines, int n, char *init,