tipo and coding style
git-svn-id: svn+ssh://en.codiert.org/home/staff/ben/dev/misc.svn/projects/fpgafs@359 766a2236-cff9-0310-b0c0-a81a5f92509a
This commit is contained in:
parent
501ef6658d
commit
9f0289c27e
2
files.c
2
files.c
@ -34,7 +34,7 @@ static int fpgafs_open(struct inode *inode, struct file *file)
|
|||||||
|
|
||||||
static ssize_t fpgafs_stat_read(struct file *file, char __user *buf,
|
static ssize_t fpgafs_stat_read(struct file *file, char __user *buf,
|
||||||
size_t len, loff_t *pos)
|
size_t len, loff_t *pos)
|
||||||
{
|
{
|
||||||
//struct fpga_context *ctx = file->private_data;
|
//struct fpga_context *ctx = file->private_data;
|
||||||
u32 data;
|
u32 data;
|
||||||
data=stat;
|
data=stat;
|
||||||
|
4
inode.c
4
inode.c
@ -296,8 +296,8 @@ int __init fpgafs_init(void)
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
||||||
register_filesystem(&fpgafs_type);
|
register_filesystem(&fpgafs_type);
|
||||||
printk("fpgafs: Benjamin Krill <ben@codiert.org");
|
printk("fpgafs: Benjamin Krill <ben@codiert.org>\n");
|
||||||
printk("fpgafs: successfull loaded ...");
|
printk("fpgafs: successfull loaded ...\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user