From 68b4313913b7abb511a7d1fd565f8fb52e04d173 Mon Sep 17 00:00:00 2001 From: Mike Isely Date: Sat, 9 Feb 2008 00:02:57 -0600 Subject: pvrusb2: Make LED control into a device-specific attribute From: Mike Isely The pvrusb2 driver has used hardcoded logic to control the LED on the device. However this is really Hauppauge-specific behavior. This change defines a new device attribute for LED control and sets things up appropriately for Hauppauge devices. Signed-off-by: Mike Isely --- linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h') diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h index c96c2d8ea..8c0abb4e4 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.h @@ -264,9 +264,6 @@ int pvr2_hdw_cmd_powerup(struct pvr2_hdw *); /* suspend */ int pvr2_hdw_cmd_powerdown(struct pvr2_hdw *); -/* toggle LED */ -int pvr2_led_ctrl(struct pvr2_hdw *hdw, int onoff); - /* Order decoder to reset */ int pvr2_hdw_cmd_decoder_reset(struct pvr2_hdw *); -- cgit v1.2.3