drm/nouveau/hwmon: fix compilation without CONFIG_HWMON
Subsystems (3)
PATCH 1/1 drm/nouveau/hwmon: fix compilation without CONFIG_HWMON
Reported-by Jim Davis <[email protected]>
--- drivers/gpu/drm/nouveau/nouveau_hwmon.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/nouveau/nouveau_hwmon.c +0 -1
@@ -630,7 +630,6 @@ error: hwmon->hwmon =NULL ;return ret;#else - hwmon->hwmon =NULL ;return 0 ;#endif }
Signature · 1 line
1.8.3.2
2013/11/27 Ilia Mirkin <[email protected]>:
Quoted 11 lines
Reported-by Jim Davis <[email protected]>Signed-off-by Ilia Mirkin <[email protected]>--- drivers/gpu/drm/nouveau/nouveau_hwmon.c | 1 - 1 file changed, 1 deletion(-)drivers/gpu/drm/nouveau/nouveau_hwmon.c +0
-0
drivers/gpu/drm/nouveau/nouveau_hwmon.c error: · line 635
Quoted 7 lines
drivers/gpu/drm/nouveau/nouveau_hwmon.c +0
-1@@ -630,7 +630,6 @@ error: hwmon->hwmon =NULL ;return ret;#else - hwmon->hwmon =NULL ;return 0 ;#endif }
I reran a configuration that had failed with that error with today's linux-next, and with the change it worked just fine. Tested-by:
[email protected]
Jim