Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/char/i8042/main.c

    rc8ea6eca r797ab95  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2011 Jan Vesely
    34 * All rights reserved.
     
    135136}
    136137
     138/** Initialize a new ddf driver instance of i8042 driver
     139 *
     140 * @param[in] device DDF instance of the device to initialize.
     141 *
     142 * @return Error code.
     143 *
     144 */
     145static errno_t i8042_dev_quiesce(ddf_dev_t *device)
     146{
     147        i8042_t *i8042;
     148
     149        ddf_msg(LVL_DEBUG, "i8042_dev_quiesce()");
     150
     151        i8042 = (i8042_t *)ddf_dev_data_get(device);
     152        i8042_quiesce(i8042);
     153        return EOK;
     154}
     155
    137156/** DDF driver operations. */
    138157static driver_ops_t i8042_driver_ops = {
    139158        .dev_add = i8042_dev_add,
     159        .dev_quiesce = i8042_dev_quiesce
    140160};
    141161
Note: See TracChangeset for help on using the changeset viewer.