ports/multimedia/pwcbsd/files/patch-pwc.h
Coleman Kane e50e48ff32 Commit of fixes that make this buildable once again after Rev. 1.82 of
src/sys/dev/usb/usb_port.h hacked off some deprecated compatibilty macros.

A number of manually designed device printf statements were replaced with
the appropriate calls to device_printf(9). In addition, did a find/replace
of other removed macros with the previous definitions from that file.

I don't have a camera so I don't know the operative status of this port
under -CURRENT yet.

PR:		ports/106794
2006-12-16 05:50:15 +00:00

11 lines
262 B
C

--- pwc.h Thu Jun 8 20:27:39 2006
+++ pwc.h Fri Dec 15 14:29:52 2006
@@ -133,7 +133,7 @@
struct pwc_softc
{
- USBBASEDEVICE sc_dev;
+ device_t sc_dev;
usbd_device_handle udev;
usbd_interface_handle sc_iface;
usbd_pipe_handle sc_videopipe;