mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
drm/nouveau/hwmon: fix compilation without CONFIG_HWMON
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>
This commit is contained in:
parent
a1f84f57f9
commit
eec99016e3
1 changed files with 0 additions and 1 deletions
|
@ -630,7 +630,6 @@ error:
|
|||
hwmon->hwmon = NULL;
|
||||
return ret;
|
||||
#else
|
||||
hwmon->hwmon = NULL;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue