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:
Alan Carvalho de Assis 2023-08-24 20:46:44 -03:00 committed by Petro Karashchenko
parent b41f526fa6
commit 7f62e315c6

View file

@ -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,