summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-08-05 14:23:17 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-06 14:24:40 +0200
commit0ca477ea8dceb13eb2f91b13d8ff25a7b3113f7e (patch)
treeda4e0a3cacd41be9c28936e51da4e17157a32d48 /drivers/media
parent[media] az6007: rename "st" to "state" at az6007_power_ctrl() (diff)
downloadlinux-0ca477ea8dceb13eb2f91b13d8ff25a7b3113f7e.tar.xz
linux-0ca477ea8dceb13eb2f91b13d8ff25a7b3113f7e.zip
[media] az6007: make all functions static
There's no reason why those functions shouldn't be static. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb-v2/az6007.c4
1 files changed, 2 insertions, 2 deletions
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;