public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Mantis, hopper: use MODULE_DEVICE_TABLE use the macro to make modules auto-loadable
@ 2010-06-21  8:52 Bjørn Mork
  2010-06-21 16:12 ` VDR User
  0 siblings, 1 reply; 4+ messages in thread
From: Bjørn Mork @ 2010-06-21  8:52 UTC (permalink / raw)
  To: linux-media
  Cc: Bjørn Mork, Manu Abraham, Ozan ?a?layan, Manu Abraham,
	stable

Thanks to Ozan ?a?layan <ozan@pardus.org.tr> for pointing it out

From: Manu Abraham <abraham.manu@gmail.com>

Signed-off-by: Manu Abraham <manu@linuxtv.org>
[bjorn@mork.no: imported from http://jusst.de/hg/mantis-v4l-dvb/raw-rev/3731f71ed6bf]
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Cc: stable@kernel.org
---
This patch is so obviously correct that I do not know how to write it differently.

It is copied from the mercurial repostory at http://jusst.de/hg/mantis-v4l-dvb/
where it has been resting for more than 4 months. I certainly hope everyone is
OK with me just forwarding it like this...  My only agenda is a fully functional
mantis driver in the kernel.

This patch does nothing but add all the relevant device id's for these two drivers, so
I consider it material for stable as well.

Bjørn

 drivers/media/dvb/mantis/hopper_cards.c |    2 ++
 drivers/media/dvb/mantis/mantis_cards.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/media/dvb/mantis/hopper_cards.c b/drivers/media/dvb/mantis/hopper_cards.c
index d073c61..1bf03ac 100644
--- a/drivers/media/dvb/mantis/hopper_cards.c
+++ b/drivers/media/dvb/mantis/hopper_cards.c
@@ -250,6 +250,8 @@ static struct pci_device_id hopper_pci_table[] = {
 	{ }
 };
 
+MODULE_DEVICE_TABLE(pci, hopper_pci_table);
+
 static struct pci_driver hopper_pci_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= hopper_pci_table,
diff --git a/drivers/media/dvb/mantis/mantis_cards.c b/drivers/media/dvb/mantis/mantis_cards.c
index 16f1708..64970cf 100644
--- a/drivers/media/dvb/mantis/mantis_cards.c
+++ b/drivers/media/dvb/mantis/mantis_cards.c
@@ -280,6 +280,8 @@ static struct pci_device_id mantis_pci_table[] = {
 	{ }
 };
 
+MODULE_DEVICE_TABLE(pci, mantis_pci_table);
+
 static struct pci_driver mantis_pci_driver = {
 	.name		= DRIVER_NAME,
 	.id_table	= mantis_pci_table,
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-21 19:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-21  8:52 [PATCH] Mantis, hopper: use MODULE_DEVICE_TABLE use the macro to make modules auto-loadable Bjørn Mork
2010-06-21 16:12 ` VDR User
2010-06-21 16:51   ` Bjørn Mork
2010-06-21 19:01     ` Marko Ristola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox