struct mdm_drv *mdm_drv = container_of(nb, struct mdm_drv,
esoc_restart);
struct esoc_clink *esoc_clink = mdm_drv->esoc_clink;
- const struct esoc_clink_ops const *clink_ops = esoc_clink->clink_ops;
+ const struct esoc_clink_ops *clink_ops = esoc_clink->clink_ops;
if (action == SYS_RESTART) {
if (mdm_dbg_stall_notify(ESOC_PRIMARY_REBOOT))
return NOTIFY_OK;
container_of(mdm_subsys,
struct esoc_clink,
subsys);
- const struct esoc_clink_ops const *clink_ops = esoc_clink->clink_ops;
+ const struct esoc_clink_ops *clink_ops = esoc_clink->clink_ops;
if (mdm_dbg_stall_notify(ESOC_PRIMARY_CRASH))
return;
clink_ops->notify(ESOC_PRIMARY_CRASH, esoc_clink);
struct esoc_clink *esoc_clink =
container_of(crashed_subsys, struct esoc_clink, subsys);
struct mdm_drv *mdm_drv = esoc_get_drv_data(esoc_clink);
- const struct esoc_clink_ops const *clink_ops = esoc_clink->clink_ops;
+ const struct esoc_clink_ops *clink_ops = esoc_clink->clink_ops;
if (mdm_drv->mode == CRASH || mdm_drv->mode == PEER_CRASH) {
if (mdm_dbg_stall_cmd(ESOC_PREPARE_DEBUG))
container_of(crashed_subsys, struct esoc_clink,
subsys);
struct mdm_drv *mdm_drv = esoc_get_drv_data(esoc_clink);
- const struct esoc_clink_ops const *clink_ops = esoc_clink->clink_ops;
+ const struct esoc_clink_ops *clink_ops = esoc_clink->clink_ops;
int timeout = INT_MAX;
if (!esoc_clink->auto_boot && !esoc_req_eng_enabled(esoc_clink)) {
struct esoc_clink *esoc_clink =
container_of(crashed_subsys, struct esoc_clink,
subsys);
- const struct esoc_clink_ops const *clink_ops = esoc_clink->clink_ops;
+ const struct esoc_clink_ops *clink_ops = esoc_clink->clink_ops;
if (want_dumps) {
ret = clink_ops->cmd_exe(ESOC_EXE_DEBUG, esoc_clink);
struct esoc_uhandle *uhandle = file->private_data;
struct esoc_udev *esoc_udev = uhandle->esoc_udev;
struct esoc_clink *esoc_clink = uhandle->esoc_clink;
- const struct esoc_clink_ops const *clink_ops = esoc_clink->clink_ops;
+ const struct esoc_clink_ops *clink_ops = esoc_clink->clink_ops;
void __user *uarg = (void __user *)arg;
switch (cmd) {