Rev 2071 | Rev 4091 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2071 | Rev 3065 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | /** Initialize character device. |
40 | /** Initialize character device. |
41 | * |
41 | * |
42 | * @param chardev Character device. |
42 | * @param chardev Character device. |
43 | * @param op Implementation of character device operations. |
43 | * @param op Implementation of character device operations. |
44 | */ |
44 | */ |
45 | void chardev_initialize(char *name,chardev_t *chardev, |
45 | void chardev_initialize(char *name, chardev_t *chardev, |
46 | chardev_operations_t *op) |
46 | chardev_operations_t *op) |
47 | { |
47 | { |
48 | chardev->name = name; |
48 | chardev->name = name; |
49 | 49 | ||
50 | waitq_initialize(&chardev->wq); |
50 | waitq_initialize(&chardev->wq); |