Subversion Repositories HelenOS

Rev

Rev 3022 | Rev 4201 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3022 Rev 4055
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);