We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96067ad commit 095f979Copy full SHA for 095f979
drivers/gpu/drm/nouveau/nouveau_pm.c
@@ -663,9 +663,9 @@ static const struct attribute_group hwmon_pwm_fan_attrgroup = {
663
static int
664
nouveau_hwmon_init(struct drm_device *dev)
665
{
666
-#if defined(CONFIG_HWMON) || (defined(MODULE) && defined(CONFIG_HWMON_MODULE))
667
struct drm_nouveau_private *dev_priv = dev->dev_private;
668
struct nouveau_pm_engine *pm = &dev_priv->engine.pm;
+#if defined(CONFIG_HWMON) || (defined(MODULE) && defined(CONFIG_HWMON_MODULE))
669
struct device *hwmon_dev;
670
int ret = 0;
671
0 commit comments