summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-04-04 13:12:38 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2011-04-11 12:36:07 +0200
commit3efa8f7bed53dba8d9252d94233db36aac64b6ce (patch)
tree0847b6e3d6732689f13cbd6e75dfdaa43fc30a59 /include
parent62604e63049aec130efa307b61f5e7c3fa077d96 (diff)
downloadbarebox-3efa8f7bed53dba8d9252d94233db36aac64b6ce.tar.gz
barebox-3efa8f7bed53dba8d9252d94233db36aac64b6ce.tar.xz
devfs: remove unused struct filep* argument from open/close
the cdev layer is under the file layer, so it should not use struct filep*. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/driver.h b/include/driver.h
index b9edca0e7f..bd0006944c 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -290,8 +290,8 @@ struct file_operations {
int (*ioctl)(struct cdev*, int, void *);
off_t (*lseek)(struct cdev*, off_t);
- int (*open)(struct cdev*, struct filep*);
- int (*close)(struct cdev*, struct filep*);
+ int (*open)(struct cdev*);
+ int (*close)(struct cdev*);
int (*erase)(struct cdev*, size_t count, unsigned long offset);
int (*protect)(struct cdev*, size_t count, unsigned long offset, int prot);
int (*memmap)(struct cdev*, void **map, int flags);