lkml.org 
[lkml]   [2006]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Fix compile warning in bt8xx module
Date
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
---

drivers/media/dvb/bt8xx/dvb-bt8xx.c | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)

Index: work/drivers/media/dvb/bt8xx/dvb-bt8xx.c
===================================================================
--- work.orig/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ work/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -893,7 +893,7 @@ static int dvb_bt8xx_probe(struct bttv_s
return 0;
}

-static int dvb_bt8xx_remove(struct bttv_sub_device *sub)
+static void dvb_bt8xx_remove(struct bttv_sub_device *sub)
{
struct dvb_bt8xx_card *card = dev_get_drvdata(&sub->dev);

@@ -911,8 +911,6 @@ static int dvb_bt8xx_remove(struct bttv_
dvb_unregister_adapter(&card->dvb_adapter);

kfree(card);
-
- return 0;
}

static struct bttv_sub_driver driver = {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-01-16 05:35    [W:0.039 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site