aboutsummaryrefslogtreecommitdiff
path: root/multimedia/pvr250/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-06 01:13:37 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-06 01:13:37 +0000
commitd63c56db884364f125938550ce1203685ba967f3 (patch)
treeca48aae20aa4800759fe3d2c7aeaf8af82808a3f /multimedia/pvr250/files
parentd36ba0538a11fa418a0114314e2583afeb89193b (diff)
Notes
Diffstat (limited to 'multimedia/pvr250/files')
-rw-r--r--multimedia/pvr250/files/extra-patch-dev::cxm::cxm.c11
-rw-r--r--multimedia/pvr250/files/extra-patch-dev::cxm::cxm.h20
2 files changed, 31 insertions, 0 deletions
diff --git a/multimedia/pvr250/files/extra-patch-dev::cxm::cxm.c b/multimedia/pvr250/files/extra-patch-dev::cxm::cxm.c
new file mode 100644
index 000000000000..8d1b865b3de0
--- /dev/null
+++ b/multimedia/pvr250/files/extra-patch-dev::cxm::cxm.c
@@ -0,0 +1,11 @@
+--- dev/cxm/cxm.c.orig 2007-09-05 19:08:24.707875447 +0200
++++ dev/cxm/cxm.c 2007-09-05 19:08:17.000000000 +0200
+@@ -1799,7 +1799,7 @@
+ }
+
+ error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_TTY,
+- cxm_intr, sc, &sc->ih_cookie);
++ NULL, cxm_intr, sc, &sc->ih_cookie);
+ if (error) {
+ device_printf(dev, "could not setup irq\n");
+ goto fail;
diff --git a/multimedia/pvr250/files/extra-patch-dev::cxm::cxm.h b/multimedia/pvr250/files/extra-patch-dev::cxm::cxm.h
new file mode 100644
index 000000000000..5f525b5625c6
--- /dev/null
+++ b/multimedia/pvr250/files/extra-patch-dev::cxm::cxm.h
@@ -0,0 +1,20 @@
+--- dev/cxm/cxm.h.orig 2007-09-05 19:10:08.361061000 +0200
++++ dev/cxm/cxm.h 2007-09-05 19:14:25.486827125 +0200
+@@ -211,8 +211,6 @@
+ cxm_pal_60hz_source_format,
+ cxm_secam_50hz_source_format };
+
+-extern const struct cxm_tuner cxm_tuners[];
+-
+ enum cxm_type { cxm_unknown_type, cxm_iTVC15_type, cxm_iTVC16_type };
+
+ /*
+@@ -635,6 +633,8 @@
+ const struct cxm_saa7115_command *scaling;
+ };
+
++extern const struct cxm_tuner cxm_tuners[];
++
+ int cxm_saa7115_init( struct cxm_softc *sc );
+ int cxm_saa7115_mute( struct cxm_softc *sc );
+ int cxm_saa7115_unmute( struct cxm_softc *sc );