Skip to content

Commit

Permalink
drm/nouveau/hwmon: fix compilation without CONFIG_HWMON
Browse files Browse the repository at this point in the history
Reported-by: Jim Davis <jim.epost@gmail.com>
Tested-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Ilia Mirkin authored and Dave Airlie committed Nov 28, 2013
1 parent a1f84f5 commit eec9901
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/nouveau/nouveau_hwmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,6 @@ nouveau_hwmon_init(struct drm_device *dev)
hwmon->hwmon = NULL;
return ret;
#else
hwmon->hwmon = NULL;
return 0;
#endif
}
Expand Down

0 comments on commit eec9901

Please sign in to comment.