patch-2.4.19 linux-2.4.19/drivers/media/video/bw-qcam.c
Next file: linux-2.4.19/drivers/media/video/id.h
Previous file: linux-2.4.19/drivers/media/video/bttvp.h
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/media/video/bw-qcam.c
- Orig date:
Thu Oct 11 09:14:32 2001
diff -urN linux-2.4.18/drivers/media/video/bw-qcam.c linux-2.4.19/drivers/media/video/bw-qcam.c
@@ -89,27 +89,27 @@
MODULE_PARM(video_nr,"i");
#endif
-extern __inline__ int read_lpstatus(struct qcam_device *q)
+static inline int read_lpstatus(struct qcam_device *q)
{
return parport_read_status(q->pport);
}
-extern __inline__ int read_lpcontrol(struct qcam_device *q)
+static inline int read_lpcontrol(struct qcam_device *q)
{
return parport_read_control(q->pport);
}
-extern __inline__ int read_lpdata(struct qcam_device *q)
+static inline int read_lpdata(struct qcam_device *q)
{
return parport_read_data(q->pport);
}
-extern __inline__ void write_lpdata(struct qcam_device *q, int d)
+static inline void write_lpdata(struct qcam_device *q, int d)
{
parport_write_data(q->pport, d);
}
-extern __inline__ void write_lpcontrol(struct qcam_device *q, int d)
+static inline void write_lpcontrol(struct qcam_device *q, int d)
{
parport_write_control(q->pport, d);
}
@@ -506,7 +506,7 @@
the supplied buffer. It returns the number of bytes read,
or -1 on error. */
-extern __inline__ int qc_readbytes(struct qcam_device *q, char buffer[])
+static inline int qc_readbytes(struct qcam_device *q, char buffer[])
{
int ret=1;
unsigned int hi, lo;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)