kernel module: format, use tab to indent.

This commit is contained in:
Reveriel
2018-12-11 09:00:29 +00:00
committed by Ciro Santilli 包子露宪 六四事件 法轮功
parent 9f6ddbc436
commit 3b0a343647
7 changed files with 117 additions and 117 deletions

View File

@@ -72,24 +72,24 @@ static int show(struct seq_file *s, void *v)
}
static struct seq_operations my_seq_ops = {
.next = next,
.show = show,
.start = start,
.stop = stop,
.next = next,
.show = show,
.start = start,
.stop = stop,
};
static int open(struct inode *inode, struct file *file)
{
pr_info("open\n");
return seq_open(file, &my_seq_ops);
return seq_open(file, &my_seq_ops);
}
static struct file_operations fops = {
.owner = THIS_MODULE,
.llseek = seq_lseek,
.open = open,
.read = seq_read,
.release = seq_release
.owner = THIS_MODULE,
.llseek = seq_lseek,
.open = open,
.read = seq_read,
.release = seq_release
};
static int myinit(void)