Commit 774d1888 authored by Michael Hunold's avatar Michael Hunold Committed by Linus Torvalds

[PATCH] update analog saa7146 drivers mxb and dpc7146

 - update analog saa7146 drivers mxb and dpc7146
 - add MODULE_DEVICE_TABLE entries, so that /sbin/hotplug can handle the
   devices
 - fixup due to the latest i2c changes
parent 2d612743
...@@ -23,10 +23,6 @@ ...@@ -23,10 +23,6 @@
#include <media/saa7146_vv.h> #include <media/saa7146_vv.h>
#include <linux/video_decoder.h> /* for saa7111a */ #include <linux/video_decoder.h> /* for saa7111a */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51)
#define KBUILD_MODNAME dpc7146
#endif
#define I2C_SAA7111A 0x24 #define I2C_SAA7111A 0x24
/* All unused bytes are reserverd. */ /* All unused bytes are reserverd. */
...@@ -339,6 +335,8 @@ struct pci_device_id pci_tbl[] = { ...@@ -339,6 +335,8 @@ struct pci_device_id pci_tbl[] = {
} }
}; };
MODULE_DEVICE_TABLE(pci, pci_tbl);
static static
struct saa7146_ext_vv vv_data = { struct saa7146_ext_vv vv_data = {
.inputs = DPC_INPUTS, .inputs = DPC_INPUTS,
......
...@@ -26,10 +26,6 @@ ...@@ -26,10 +26,6 @@
#include <media/saa7146_vv.h> #include <media/saa7146_vv.h>
#include <linux/video_decoder.h> /* for saa7111a */ #include <linux/video_decoder.h> /* for saa7111a */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51)
#define KBUILD_MODNAME mxb
#endif
#include "mxb.h" #include "mxb.h"
#include "tea6415c.h" #include "tea6415c.h"
#include "tea6420.h" #include "tea6420.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment