summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dibusb/dvb-dibusb.c21
1 files changed, 15 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb.c
index 9c4ac99dc..df25cfd76 100644
--- a/linux/drivers/media/dvb/dibusb/dvb-dibusb.c
+++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb.c
@@ -113,11 +113,6 @@ static int dibusb_readwrite_usb(struct usb_dibusb *dib,
return ret;
}
-static int dibusb_write_usb(struct usb_dibusb *dib, u8 *buf, u16 len)
-{
- return dibusb_readwrite_usb(dib,buf,len,NULL,0);
-}
-
static int dibusb_i2c_msg(struct usb_dibusb *dib, u8 addr,
u8 *wbuf, u16 wlen, u8 *rbuf, u16 rlen)
{
@@ -284,9 +279,21 @@ static int dibusb_stop_feed(struct dvb_demux_feed *dvbdmxfeed)
}
/*
- * firmware transfers
+ * Cypress transfers
+ */
+
+#if 0
+
+/*
+ * #if 0'ing the following 5 functions as they are not in use _now_,
+ * but probably will be sometime.
*/
+static int dibusb_write_usb(struct usb_dibusb *dib, u8 *buf, u16 len)
+{
+ return dibusb_readwrite_usb(dib,buf,len,NULL,0);
+}
+
/*
* do not use this, just a workaround for a bug,
* which will hopefully never occur :).
@@ -353,6 +360,8 @@ static int dibusb_hw_wakeup(struct usb_dibusb *dib)
return dibusb_ioctl_cmd(dib,DIBUSB_IOCTL_CMD_POWER_MODE, b,1);
}
+#endif
+
/*
* I2C
*/