summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-05-24 09:50:36 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-05-24 09:50:36 -0300
commit89a665d4809ed73065774c70b0a2cc183ef34588 (patch)
treec67fffce2ab3b91a21d21181fb1e289ca667805a /linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
parenta009555d3b8b9bbc985a8cb8ce2f834c7d77faf1 (diff)
downloadmediapointer-dvb-s2-89a665d4809ed73065774c70b0a2cc183ef34588.tar.gz
mediapointer-dvb-s2-89a665d4809ed73065774c70b0a2cc183ef34588.tar.bz2
Include at V4L/DVB tree some changes from kernel
From: Mauro Carvalho Chehab <mchehab@infradead.org> __devinit were introduced for the device init functions kernel-sync: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c')
-rw-r--r--linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
index 9fd691e5c..fcc284274 100644
--- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
+++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c
@@ -116,7 +116,7 @@ static int is_pci_slot_eq(struct pci_dev* adev, struct pci_dev* bdev)
return 0;
}
-static struct bt878 __init *dvb_bt8xx_878_match(unsigned int bttv_nr, struct pci_dev* bttv_pci_dev)
+static struct bt878 __devinit *dvb_bt8xx_878_match(unsigned int bttv_nr, struct pci_dev* bttv_pci_dev)
{
unsigned int card_nr;
@@ -714,7 +714,7 @@ static void frontend_init(struct dvb_bt8xx_card *card, u32 type)
}
}
-static int __init dvb_bt8xx_load_card(struct dvb_bt8xx_card *card, u32 type)
+static int __devinit dvb_bt8xx_load_card(struct dvb_bt8xx_card *card, u32 type)
{
int result;
@@ -802,7 +802,7 @@ static int __init dvb_bt8xx_load_card(struct dvb_bt8xx_card *card, u32 type)
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)
static int dvb_bt8xx_probe(struct device *dev)
#else
-static int dvb_bt8xx_probe(struct bttv_sub_device *sub)
+static int __devinit dvb_bt8xx_probe(struct bttv_sub_device *sub)
#endif
{
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,15)