From: Mauro Carvalho Chehab Date: Sun, 5 Aug 2012 12:23:17 +0000 (-0300) Subject: [media] az6007: make all functions static X-Git-Tag: firefly_0821_release~3680^2~275^2~1591 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0ca477ea8dceb13eb2f91b13d8ff25a7b3113f7e;p=firefly-linux-kernel-4.4.55.git [media] az6007: make all functions static There's no reason why those functions shouldn't be static. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/dvb-usb-v2/az6007.c b/drivers/media/dvb/dvb-usb-v2/az6007.c index bb7f61de093b..4a0ee6420297 100644 --- a/drivers/media/dvb/dvb-usb-v2/az6007.c +++ b/drivers/media/dvb/dvb-usb-v2/az6007.c @@ -635,7 +635,7 @@ static int az6007_tuner_attach(struct dvb_usb_adapter *adap) return 0; } -int az6007_power_ctrl(struct dvb_usb_device *d, int onoff) +static int az6007_power_ctrl(struct dvb_usb_device *d, int onoff) { struct az6007_device_state *state = d_to_priv(d); int ret; @@ -784,7 +784,7 @@ static struct i2c_algorithm az6007_i2c_algo = { .functionality = az6007_i2c_func, }; -int az6007_identify_state(struct dvb_usb_device *d, const char **name) +static int az6007_identify_state(struct dvb_usb_device *d, const char **name) { int ret; u8 *mac;