Commit eec99016 authored by Ilia Mirkin's avatar Ilia Mirkin Committed by Dave Airlie

drm/nouveau/hwmon: fix compilation without CONFIG_HWMON

Reported-by: default avatarJim Davis <jim.epost@gmail.com>
Tested-by: default avatarJim Davis <jim.epost@gmail.com>
Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent a1f84f57
...@@ -630,7 +630,6 @@ nouveau_hwmon_init(struct drm_device *dev) ...@@ -630,7 +630,6 @@ nouveau_hwmon_init(struct drm_device *dev)
hwmon->hwmon = NULL; hwmon->hwmon = NULL;
return ret; return ret;
#else #else
hwmon->hwmon = NULL;
return 0; return 0;
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment