Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ad1ce84047a39aec735ef0d5efe29b845bea3262
Commit:     ad1ce84047a39aec735ef0d5efe29b845bea3262
Parent:     67b24c78839067729b660116ba394568cd136130
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Mon Nov 5 14:06:41 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 19:02:03 2008 -0200

    V4L/DVB (6571): dvb-usb/gp8psk.c: #if 0 gp8psk_bcm4500_reload()
    
    This patch #if 0's the unused gp8psk_bcm4500_reload()
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 drivers/media/dvb/dvb-usb/gp8psk.c |   16 ----------------
 drivers/media/dvb/dvb-usb/gp8psk.h |    1 -
 2 files changed, 0 insertions(+), 17 deletions(-)

diff --git a/drivers/media/dvb/dvb-usb/gp8psk.c 
b/drivers/media/dvb/dvb-usb/gp8psk.c
index 92147ee..83e8535 100644
--- a/drivers/media/dvb/dvb-usb/gp8psk.c
+++ b/drivers/media/dvb/dvb-usb/gp8psk.c
@@ -171,22 +171,6 @@ static int gp8psk_power_ctrl(struct dvb_usb_device *d, int 
onoff)
        return 0;
 }
 
-int gp8psk_bcm4500_reload(struct dvb_usb_device *d)
-{
-       u8 buf;
-       int gp_product_id = le16_to_cpu(d->udev->descriptor.idProduct);
-       /* Turn off 8psk power */
-       if (gp8psk_usb_in_op(d, BOOT_8PSK, 0, 0, &buf, 1))
-               return -EINVAL;
-       /* Turn On 8psk power */
-       if (gp8psk_usb_in_op(d, BOOT_8PSK, 1, 0, &buf, 1))
-               return -EINVAL;
-       /* load BCM4500 firmware */
-       if (gp_product_id == USB_PID_GENPIX_8PSK_REV_1_WARM)
-               if (gp8psk_load_bcm4500fw(d))
-                       return EINVAL;
-       return 0;
-}
 
 static int gp8psk_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff)
 {
diff --git a/drivers/media/dvb/dvb-usb/gp8psk.h 
b/drivers/media/dvb/dvb-usb/gp8psk.h
index e83a575..e5cd814 100644
--- a/drivers/media/dvb/dvb-usb/gp8psk.h
+++ b/drivers/media/dvb/dvb-usb/gp8psk.h
@@ -92,6 +92,5 @@ extern struct dvb_frontend * gp8psk_fe_attach(struct 
dvb_usb_device *d);
 extern int gp8psk_usb_in_op(struct dvb_usb_device *d, u8 req, u16 value, u16 
index, u8 *b, int blen);
 extern int gp8psk_usb_out_op(struct dvb_usb_device *d, u8 req, u16 value,
                             u16 index, u8 *b, int blen);
-extern int gp8psk_bcm4500_reload(struct dvb_usb_device *d);
 
 #endif
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to