]> git.baikalelectronics.ru Git - kernel.git/commit
[media] radio-isa: add framework for ISA radio drivers
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 3 Feb 2012 11:28:56 +0000 (08:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Feb 2012 19:01:13 +0000 (17:01 -0200)
commitcfa94f1acc118c3910ee0dfae70b32ccab1e80d8
tree9b2ab60f813734ebf31126eda3bf60466573310a
parent09a879e87e69b36435711c69dab5feb1220a5220
[media] radio-isa: add framework for ISA radio drivers

We have quite a few ISA radio drivers, which are all very similar.

This framework makes it possible to reduce the code size of those drivers
and makes it much easier to keep them up to date with the latest V4L2 API
developments.

Drivers rewritten to use this framework fully pass the v4l2-compliance tests
and are properly using the ISA bus (so they can be found under /sys/bus/isa).

It is now also possible to support multiple cards using the same driver
(tested with two radio-gemtek cards).

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/Kconfig
drivers/media/radio/Makefile
drivers/media/radio/radio-isa.c [new file with mode: 0644]
drivers/media/radio/radio-isa.h [new file with mode: 0644]