Commit a8e8f284 authored by Daan Vreeken's avatar Daan Vreeken
Browse files

Add BLOCK_CREATE struct.

	modified:   console/winrotor-usb/winrotor-usb.c
parent f4af71f1
......@@ -222,7 +222,8 @@ static void param_set(struct controller_block *wru, int param, void *val)
}
}
struct controller_block * block_winrotor_usb_create(char *name)
struct controller_block * block_winrotor_usb_create(char *name, int argc,
va_list ap)
{
struct usb_dev_handle *hdl;
struct controller_block *wru;
......@@ -310,3 +311,8 @@ err_usb:
return NULL;
}
BLOCK_CREATE(winrotor_usb) = {
.create = block_winrotor_usb_create,
.args = { NULL },
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment