|
@@ -36,6 +36,7 @@ static void hw_step ( struct hw *hw ) {
|
36
|
36
|
}
|
37
|
37
|
|
38
|
38
|
static struct interface_operation hw_xfer_operations[] = {
|
|
39
|
+ INTF_OP ( xfer_window_changed, struct hw *, hw_step ),
|
39
|
40
|
INTF_OP ( intf_close, struct hw *, hw_finished ),
|
40
|
41
|
};
|
41
|
42
|
|
|
@@ -43,7 +44,7 @@ static struct interface_descriptor hw_xfer_desc =
|
43
|
44
|
INTF_DESC ( struct hw, xfer, hw_xfer_operations );
|
44
|
45
|
|
45
|
46
|
static struct process_descriptor hw_process_desc =
|
46
|
|
- PROC_DESC ( struct hw, process, hw_step );
|
|
47
|
+ PROC_DESC_ONCE ( struct hw, process, hw_step );
|
47
|
48
|
|
48
|
49
|
static int hw_open ( struct interface *xfer, struct uri *uri __unused ) {
|
49
|
50
|
struct hw *hw;
|