Loading drivers/gpu/drm/nouveau/core/subdev/therm/fantog.c +7 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,13 @@ nouveau_fantog_create(struct nouveau_therm *therm, struct dcb_gpio_func *func) { struct nouveau_therm_priv *tpriv = (void *)therm; struct nouveau_fantog_priv *priv; int ret; if (therm->pwm_ctrl) { ret = therm->pwm_ctrl(therm, func->line, false); if (ret) return ret; } priv = kzalloc(sizeof(*priv), GFP_KERNEL); tpriv->fan = &priv->base; Loading Loading
drivers/gpu/drm/nouveau/core/subdev/therm/fantog.c +7 −0 Original line number Diff line number Diff line Loading @@ -97,6 +97,13 @@ nouveau_fantog_create(struct nouveau_therm *therm, struct dcb_gpio_func *func) { struct nouveau_therm_priv *tpriv = (void *)therm; struct nouveau_fantog_priv *priv; int ret; if (therm->pwm_ctrl) { ret = therm->pwm_ctrl(therm, func->line, false); if (ret) return ret; } priv = kzalloc(sizeof(*priv), GFP_KERNEL); tpriv->fan = &priv->base; Loading