summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/af9015.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-06-18 23:42:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-04 07:56:36 -0300
commita0921af7eb2eced1639fc1e1befdf703e7bec95a (patch)
treef284c5b1fbef5987c75d3b70e803aa28623d084f /drivers/media/dvb/dvb-usb/af9015.c
parentb905a2a13307035a4a5c9a93a3607e51e6736db2 (diff)
[media] dvb_usb_v2: use identify_state() to resolve firmware name
Merge get_firmware_name() to identify_state(). It is wise to resolve firmware name in that routine as it does decision wether or not to load firmware at all. It is one very rarely needed callback less. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/af9015.c')
-rw-r--r--drivers/media/dvb/dvb-usb/af9015.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c
index 101b399e76a1..6cecd755f1d9 100644
--- a/drivers/media/dvb/dvb-usb/af9015.c
+++ b/drivers/media/dvb/dvb-usb/af9015.c
@@ -324,7 +324,7 @@ static struct i2c_algorithm af9015_i2c_algo = {
.functionality = af9015_i2c_func,
};
-static int af9015_identify_state(struct dvb_usb_device *d)
+static int af9015_identify_state(struct dvb_usb_device *d, const char **name)
{
int ret;
u8 reply;