V4L/DVB (7943): tuner: add macro, hybrid_tuner_report_instance_count
authorMichael Krufky <mkrufky@linuxtv.org>
Fri, 18 Apr 2008 23:26:04 +0000 (20:26 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 5 Jun 2008 09:35:46 +0000 (06:35 -0300)
commit9adea1c00df74823e1719ebbcb86c972c4c2aba1
tree593f18bc17deebc9fd208831f16f8b1827a02570
parentba60bc673ce7d019ae6684cebbb33e5239346664
V4L/DVB (7943): tuner: add macro, hybrid_tuner_report_instance_count

Create a macro to report the number of instances of the tuner driver
currently in use.  This will allow drivers to perform specific cleanups
before destroying the last instance of a tuner.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/common/tuners/tuner-i2c.h