projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
WorkStruct: make allyesconfig
[deliverable/linux.git]
/
drivers
/
media
/
dvb
/
b2c2
/
flexcop-pci.c
diff --git
a/drivers/media/dvb/b2c2/flexcop-pci.c
b/drivers/media/dvb/b2c2/flexcop-pci.c
index 06893243f3d4c038ccda257778f58531a01133e5..6e166801505d23636014d2a120d479538933a2d7 100644
(file)
--- a/
drivers/media/dvb/b2c2/flexcop-pci.c
+++ b/
drivers/media/dvb/b2c2/flexcop-pci.c
@@
-63,7
+63,7
@@
struct flexcop_pci {
unsigned long last_irq;
unsigned long last_irq;
- struct
work_struct
irq_check_work;
+ struct
delayed_work
irq_check_work;
struct flexcop_device *fc_dev;
};
struct flexcop_device *fc_dev;
};
@@
-97,9
+97,10
@@
static int flexcop_pci_write_ibi_reg(struct flexcop_device *fc, flexcop_ibi_regi
return 0;
}
return 0;
}
-static void flexcop_pci_irq_check_work(
void *data
)
+static void flexcop_pci_irq_check_work(
struct work_struct *work
)
{
{
- struct flexcop_pci *fc_pci = data;
+ struct flexcop_pci *fc_pci =
+ container_of(work, struct flexcop_pci, irq_check_work.work);
struct flexcop_device *fc = fc_pci->fc_dev;
flexcop_ibi_value v = fc->read_ibi_reg(fc,sram_dest_reg_714);
struct flexcop_device *fc = fc_pci->fc_dev;
flexcop_ibi_value v = fc->read_ibi_reg(fc,sram_dest_reg_714);
@@
-371,7
+372,7
@@
static int flexcop_pci_probe(struct pci_dev *pdev, const struct pci_device_id *e
if ((ret = flexcop_pci_dma_init(fc_pci)) != 0)
goto err_fc_exit;
if ((ret = flexcop_pci_dma_init(fc_pci)) != 0)
goto err_fc_exit;
- INIT_
WORK(&fc_pci->irq_check_work, flexcop_pci_irq_check_work, fc_pci
);
+ INIT_
DELAYED_WORK(&fc_pci->irq_check_work, flexcop_pci_irq_check_work
);
return ret;
return ret;
This page took
0.027003 seconds
and
5
git commands to generate.