bh1750fvi: Fix compilation error
Error: sensors/bh1750fvi.c:73:16: error: unused function 'bh1750fvi_open' [-Werror,-Wunused-function] static int bh1750fvi_open(FAR struct file *filep); ^ Error: sensors/bh1750fvi.c:74:16: error: unused function 'bh1750fvi_close' [-Werror,-Wunused-function] static int bh1750fvi_close(FAR struct file *filep);
This commit is contained in:
parent
b41f526fa6
commit
7f62e315c6
1 changed files with 0 additions and 2 deletions
|
@ -70,8 +70,6 @@ static int bh1750fvi_write8(FAR struct bh1750fvi_dev_s *priv,
|
|||
|
||||
/* Character driver methods */
|
||||
|
||||
static int bh1750fvi_open(FAR struct file *filep);
|
||||
static int bh1750fvi_close(FAR struct file *filep);
|
||||
static ssize_t bh1750fvi_read(FAR struct file *filep, FAR char *buffer,
|
||||
size_t buflen);
|
||||
static ssize_t bh1750fvi_write(FAR struct file *filep,
|
||||
|
|
Loading…
Reference in a new issue