[PATCH v2/RESEND] drm: nouveau: Fix build warning seen if HWMON is undefined

2013-01-01 Thread Guenter Roeck
Fix: nouveau_pm.c: In function ‘nouveau_hwmon_init’: nouveau_pm.c:703:24: warning: unused variable ‘therm’ [-Wunused-variable] Introduced by commit 095f979a (drm/nouveau/pm: fix build with HWMON off) which fixed a build error but introduced a build warning. Cc: Dave Airlie Cc: Randy Dunlap Sig

[PATCH v2/RESEND] drm: nouveau: Fix build warning seen if HWMON is undefined

2013-01-01 Thread Guenter Roeck
Fix: nouveau_pm.c: In function ?nouveau_hwmon_init?: nouveau_pm.c:703:24: warning: unused variable ?therm? [-Wunused-variable] Introduced by commit 095f979a (drm/nouveau/pm: fix build with HWMON off) which fixed a build error but introduced a build warning. Cc: Dave Airlie Cc: Randy Dunlap Sig