summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-main.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2007-11-25 22:53:12 -0600
committerMike Isely <isely@pobox.com>2007-11-25 22:53:12 -0600
commit2446fc6debfd93e7b8b9cad4b22083994f686e59 (patch)
treefa19199cc5340b991b332af336dddd9e078cbf6c /linux/drivers/media/video/pvrusb2/pvrusb2-main.c
parent1cd04c75ca99803aa0a1bd9b4952f2d61e72c4f4 (diff)
downloadmediapointer-dvb-s2-2446fc6debfd93e7b8b9cad4b22083994f686e59.tar.gz
mediapointer-dvb-s2-2446fc6debfd93e7b8b9cad4b22083994f686e59.tar.bz2
pvrusb2: Centralize device specific attributes into a single place.
From: Mike Isely <isely@pobox.com> The pvrusb2 driver currently supports two variants of the Hauppauge PVR USB2. However there are other hardware types potentially supportable, but the driver at the moment is not structured to make it easy to describe these minor variations. This changeset is the first set of changes to make such additional device support possible. Device attributes are held in several tables all contained within pvrusb2-devattr.c; all other device-specific driver behavior now derives from these tables. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-main.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-main.c b/linux/drivers/media/video/pvrusb2/pvrusb2-main.c
index 687096d1f..ea69ce6a8 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-main.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-main.c
@@ -28,6 +28,7 @@
#include <linux/videodev2.h>
#include "pvrusb2-hdw.h"
+#include "pvrusb2-devattr.h"
#include "pvrusb2-context.h"
#include "pvrusb2-debug.h"
#include "pvrusb2-v4l2.h"