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
/
video
/
cx88
/
cx88-input.c
diff --git
a/drivers/media/video/cx88/cx88-input.c
b/drivers/media/video/cx88/cx88-input.c
index 57e1c024a5478370241dd4abf24b97267613b4e5..e60a0a52e4b2c6c03612fe90a60bf72c6d0924a3 100644
(file)
--- a/
drivers/media/video/cx88/cx88-input.c
+++ b/
drivers/media/video/cx88/cx88-input.c
@@
-145,9
+145,9
@@
static void ir_timer(unsigned long data)
schedule_work(&ir->work);
}
schedule_work(&ir->work);
}
-static void cx88_ir_work(
void *data
)
+static void cx88_ir_work(
struct work_struct *work
)
{
{
- struct cx88_IR *ir =
data
;
+ struct cx88_IR *ir =
container_of(work, struct cx88_IR, work)
;
unsigned long timeout;
cx88_ir_handle_key(ir);
unsigned long timeout;
cx88_ir_handle_key(ir);
@@
-308,7
+308,7
@@
int cx88_ir_init(struct cx88_core *core, struct pci_dev *pci)
core->ir = ir;
if (ir->polling) {
core->ir = ir;
if (ir->polling) {
- INIT_WORK(&ir->work, cx88_ir_work
, ir
);
+ INIT_WORK(&ir->work, cx88_ir_work);
init_timer(&ir->timer);
ir->timer.function = ir_timer;
ir->timer.data = (unsigned long)ir;
init_timer(&ir->timer);
ir->timer.function = ir_timer;
ir->timer.data = (unsigned long)ir;
This page took
0.024003 seconds
and
5
git commands to generate.