mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
drivers: remove unimplemented open/close/ioctl interfaces
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
6041a2f0db
commit
09b3fb25ab
96 changed files with 346 additions and 1991 deletions
|
|
@ -43,7 +43,7 @@
|
|||
static int nxterm_open(FAR struct file *filep);
|
||||
static int nxterm_close(FAR struct file *filep);
|
||||
static ssize_t nxterm_write(FAR struct file *filep, FAR const char *buffer,
|
||||
size_t buflen);
|
||||
size_t buflen);
|
||||
static int nxterm_ioctl(FAR struct file *filep, int cmd,
|
||||
unsigned long arg);
|
||||
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ FAR struct nxterm_state_s *
|
|||
|
||||
/* Register the driver */
|
||||
|
||||
snprintf(devname, NX_DEVNAME_SIZE, NX_DEVNAME_FORMAT, minor);
|
||||
snprintf(devname, sizeof(devname), NX_DEVNAME_FORMAT, minor);
|
||||
ret = register_driver(devname, &g_nxterm_drvrops, 0666, priv);
|
||||
if (ret < 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue