]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6c6d9d708ba0a838b687bd904773fbd387e834e
tree593f18bc17deebc9fd208831f16f8b1827a02570
parentea4281f6352ea415851f9b648c2bc0bf6d70720f
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