Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64592d0c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] az6027: get rid of warning: no previous prototype



drivers/media/usb/dvb-usb/az6027.c:1054:5: warning: no previous prototype for 'az6027_identify_state' [-Wmissing-prototypes]
drivers/media/usb/dvb-usb/az6027.c:301:5: warning: no previous prototype for 'az6027_usb_in_op' [-Wmissing-prototypes]

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent fb1546e0
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -298,7 +298,8 @@ struct stb6100_config az6027_stb6100_config = {


/* check for mutex FIXME */
int az6027_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 index, u8 *b, int blen)
static int az6027_usb_in_op(struct dvb_usb_device *d, u8 req,
			    u16 value, u16 index, u8 *b, int blen)
{
	int ret = -1;
	if (mutex_lock_interruptible(&d->usb_mutex))
@@ -1051,7 +1052,7 @@ static struct i2c_algorithm az6027_i2c_algo = {
	.functionality = az6027_i2c_func,
};

int az6027_identify_state(struct usb_device *udev,
static int az6027_identify_state(struct usb_device *udev,
				 struct dvb_usb_device_properties *props,
				 struct dvb_usb_device_description **desc,
				 int *cold)