[media] az6007: make all functions static
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 5 Aug 2012 12:23:17 +0000 (09:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 6 Aug 2012 12:24:40 +0000 (09:24 -0300)
There's no reason why those functions shouldn't be static.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb-v2/az6007.c

index bb7f61de093be3db1f2e691ea0928bd8f7608c39..4a0ee64202975f65c75484d15eef44df82b753ec 100644 (file)
@@ -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;