LinuxKPI: add simple_open() to fs.h
Add a dummy simple_open() to fs.h as we have for other (unsupported) functions. This is needed by a wireless driver. MFC after: 3 days Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D32642
This commit is contained in:
parent
9d593d5a76
commit
41dee251ee
@ -245,6 +245,12 @@ nonseekable_open(struct inode *inode, struct file *filp)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int
|
||||
simple_open(struct inode *inode, struct file *filp)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
extern unsigned int linux_iminor(struct inode *);
|
||||
#define iminor(...) linux_iminor(__VA_ARGS__)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user