projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIPS: Whitespace cleanup.
[deliverable/linux.git]
/
arch
/
mips
/
kernel
/
rtlx.c
diff --git
a/arch/mips/kernel/rtlx.c
b/arch/mips/kernel/rtlx.c
index b8c18dcdd2c439999f981ee8edff808b8a06c0f5..ce72bfff5e29298c5c065bb59f0473295054443b 100644
(file)
--- a/
arch/mips/kernel/rtlx.c
+++ b/
arch/mips/kernel/rtlx.c
@@
-252,12
+252,12
@@
int rtlx_release(int index)
unsigned int rtlx_read_poll(int index, int can_sleep)
{
unsigned int rtlx_read_poll(int index, int can_sleep)
{
- struct rtlx_channel *chan;
+ struct rtlx_channel *chan;
- if (rtlx == NULL)
- return 0;
+ if (rtlx == NULL)
+ return 0;
- chan = &rtlx->channel[index];
+ chan = &rtlx->channel[index];
/* data available to read? */
if (chan->lx_read == chan->lx_write) {
/* data available to read? */
if (chan->lx_read == chan->lx_write) {
@@
-451,8
+451,8
@@
static ssize_t file_write(struct file *file, const char __user * buffer,
return -EAGAIN;
__wait_event_interruptible(channel_wqs[minor].rt_queue,
return -EAGAIN;
__wait_event_interruptible(channel_wqs[minor].rt_queue,
- rtlx_write_poll(minor),
- ret);
+ rtlx_write_poll(minor),
+ ret);
if (ret)
return ret;
}
if (ret)
return ret;
}
@@
-462,11
+462,11
@@
static ssize_t file_write(struct file *file, const char __user * buffer,
static const struct file_operations rtlx_fops = {
.owner = THIS_MODULE,
static const struct file_operations rtlx_fops = {
.owner = THIS_MODULE,
- .open = file_open,
+ .open = file_open,
.release = file_release,
.write = file_write,
.release = file_release,
.write = file_write,
- .read = file_read,
- .poll = file_poll,
+ .read = file_read,
+ .poll = file_poll,
.llseek = noop_llseek,
};
.llseek = noop_llseek,
};
This page took
0.044444 seconds
and
5
git commands to generate.