summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/dvb-usb/ec168.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2012-06-19 02:42:53 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-04 10:56:36 (GMT)
commita0921af7eb2eced1639fc1e1befdf703e7bec95a (patch)
treef284c5b1fbef5987c75d3b70e803aa28623d084f /drivers/media/dvb/dvb-usb/ec168.c
parentb905a2a13307035a4a5c9a93a3607e51e6736db2 (diff)
downloadlinux-a0921af7eb2eced1639fc1e1befdf703e7bec95a.tar.xz
[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/ec168.c')
-rw-r--r--drivers/media/dvb/dvb-usb/ec168.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/ec168.c b/drivers/media/dvb/dvb-usb/ec168.c
index c05f09c..1fb8472 100644
--- a/drivers/media/dvb/dvb-usb/ec168.c
+++ b/drivers/media/dvb/dvb-usb/ec168.c
@@ -182,7 +182,7 @@ static struct i2c_algorithm ec168_i2c_algo = {
};
/* Callbacks for DVB USB */
-static int ec168_identify_state(struct dvb_usb_device *d)
+static int ec168_identify_state(struct dvb_usb_device *d, const char **name)
{
int ret;
u8 reply;