diff mbox

[0905_03] Siano: smsusb - remove old backward support

Message ID 23363.7021.qm@web110802.mail.gq1.yahoo.com (mailing list archive)
State Rejected
Headers show

Commit Message

Uri Shkolnik May 12, 2009, 2:17 p.m. UTC
# HG changeset patch
# User Uri Shkolnik <uris@siano-ms.com>
# Date 1242136071 -10800
# Node ID 126c0974c2db4e2777e5d9b068fa976fe3a59675
# Parent  697459f4baf6e95a906b852250699a18d1016724
[0905_03] Siano: smsusb - remove old backward support

From: Uri Shkolnik <uris@siano-ms.com>

Remove backward support for kernel versions
older than 2.6.19.

Priority: normal

Signed-off-by: Uri Shkolnik <uris@siano-ms.com>




      
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Mauro Carvalho Chehab May 14, 2009, 12:10 p.m. UTC | #1
Em Tue, 12 May 2009 07:17:09 -0700 (PDT)
Uri Shkolnik <urishk@yahoo.com> escreveu:

> 
> # HG changeset patch
> # User Uri Shkolnik <uris@siano-ms.com>
> # Date 1242136071 -10800
> # Node ID 126c0974c2db4e2777e5d9b068fa976fe3a59675
> # Parent  697459f4baf6e95a906b852250699a18d1016724
> [0905_03] Siano: smsusb - remove old backward support
> 
> From: Uri Shkolnik <uris@siano-ms.com>
> 
> Remove backward support for kernel versions
> older than 2.6.19.
> 
> Priority: normal
> 
> Signed-off-by: Uri Shkolnik <uris@siano-ms.com>
> 
> diff -r 697459f4baf6 -r 126c0974c2db linux/drivers/media/dvb/siano/smsusb.c
> --- a/linux/drivers/media/dvb/siano/smsusb.c	Tue May 12 16:42:33 2009 +0300
> +++ b/linux/drivers/media/dvb/siano/smsusb.c	Tue May 12 16:47:51 2009 +0300
> @@ -60,11 +60,7 @@ static int smsusb_submit_urb(struct smsu
>  static int smsusb_submit_urb(struct smsusb_device_t *dev,
>  			     struct smsusb_urb_t *surb);
>  
> -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19)
>  static void smsusb_onresponse(struct urb *urb)
> -#else
> -static void smsusb_onresponse(struct urb *urb, struct pt_regs *regs)
> -#endif
>  {
>  	struct smsusb_urb_t *surb = (struct smsusb_urb_t *) urb->context;
>  	struct smsusb_device_t *dev = surb->dev;

Why to remove this backport? Also, if you touch on supported versions, you'll
need to touch also on v4l.versions.txt




Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff -r 697459f4baf6 -r 126c0974c2db linux/drivers/media/dvb/siano/smsusb.c
--- a/linux/drivers/media/dvb/siano/smsusb.c	Tue May 12 16:42:33 2009 +0300
+++ b/linux/drivers/media/dvb/siano/smsusb.c	Tue May 12 16:47:51 2009 +0300
@@ -60,11 +60,7 @@  static int smsusb_submit_urb(struct smsu
 static int smsusb_submit_urb(struct smsusb_device_t *dev,
 			     struct smsusb_urb_t *surb);
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19)
 static void smsusb_onresponse(struct urb *urb)
-#else
-static void smsusb_onresponse(struct urb *urb, struct pt_regs *regs)
-#endif
 {
 	struct smsusb_urb_t *surb = (struct smsusb_urb_t *) urb->context;
 	struct smsusb_device_t *dev = surb->dev;