[media] dvb_usb_v2: implement .get_adapter_count()
authorAntti Palosaari <crope@iki.fi>
Fri, 25 May 2012 00:11:42 +0000 (21:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:21 +0000 (07:56 -0300)
commit5b8530041358bd1f316ed793cc46b73c038172a7
tree59e4e7999692d8ae5faa4d9e3f621174cc5cede1
parent7dfd1242aa54f3246cf6f87158e2e14f0336b73d
[media] dvb_usb_v2: implement .get_adapter_count()

Callback to resolve adapter count of current device.
Old static .num_adapters field can be still used but
the new .get_adapter_count() has priority if both
offered by the driver.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb_usb.h
drivers/media/dvb/dvb-usb/dvb_usb_init.c