diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-11-05 12:06:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:02:03 -0500 |
commit | ad1ce84047a39aec735ef0d5efe29b845bea3262 (patch) | |
tree | 5de44948500c11abbde24d70569f3b6fde8dd8a2 /drivers/media/dvb/dvb-usb/gp8psk.c | |
parent | 67b24c78839067729b660116ba394568cd136130 (diff) |
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 <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/gp8psk.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/gp8psk.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/media/dvb/dvb-usb/gp8psk.c b/drivers/media/dvb/dvb-usb/gp8psk.c index 92147ee3e14f..83e8535014c6 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) | |||
171 | return 0; | 171 | return 0; |
172 | } | 172 | } |
173 | 173 | ||
174 | int gp8psk_bcm4500_reload(struct dvb_usb_device *d) | ||
175 | { | ||
176 | u8 buf; | ||
177 | int gp_product_id = le16_to_cpu(d->udev->descriptor.idProduct); | ||
178 | /* Turn off 8psk power */ | ||
179 | if (gp8psk_usb_in_op(d, BOOT_8PSK, 0, 0, &buf, 1)) | ||
180 | return -EINVAL; | ||
181 | /* Turn On 8psk power */ | ||
182 | if (gp8psk_usb_in_op(d, BOOT_8PSK, 1, 0, &buf, 1)) | ||
183 | return -EINVAL; | ||
184 | /* load BCM4500 firmware */ | ||
185 | if (gp_product_id == USB_PID_GENPIX_8PSK_REV_1_WARM) | ||
186 | if (gp8psk_load_bcm4500fw(d)) | ||
187 | return EINVAL; | ||
188 | return 0; | ||
189 | } | ||
190 | 174 | ||
191 | static int gp8psk_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) | 175 | static int gp8psk_streaming_ctrl(struct dvb_usb_adapter *adap, int onoff) |
192 | { | 176 | { |