mirror of
https://github.com/apache/nuttx.git
synced 2026-08-11 07:25:13 +00:00
Change FIOC_MMAP into file operation call
- Add mmap into file_operations and remove it from ioctl definitions. - Add mm_map structure definitions to support future unmapping - Modify all drivers to initialize the operations struct accordingly Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
parent
41e9df2f3e
commit
f33dc4df3f
111 changed files with 320 additions and 96 deletions
|
|
@ -104,6 +104,7 @@ static const struct file_operations g_lirc_fops =
|
|||
NULL, /* seek */
|
||||
lirc_ioctl, /* ioctl */
|
||||
NULL, /* truncate */
|
||||
NULL, /* mmap */
|
||||
lirc_poll /* poll */
|
||||
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
||||
, NULL /* unlink */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue