]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: enable hwmon support when both nouveau/hwmon are built as modules.
authorKen Milmore <ken.milmore@googlemail.com>
Sun, 3 Jul 2011 18:54:28 +0000 (19:54 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 20 Sep 2011 06:07:59 +0000 (16:07 +1000)
commite0c10e06a7e6c27ddaed831ea618dae16e8e883e
tree22e11b22bd0b76b2f6442b99a85dfe5882cd0e44
parentf0a756b73bba119fa795c27586e3ea5e285e9bd9
drm/nouveau: enable hwmon support when both nouveau/hwmon are built as modules.

The nouveau hwmon temperature support currently only functions when hwmon is
compiled into the kernel. There's no reason why this shouldn't also work when
both hwmon and nouveau are modularised (as is the case with Slackware's stock
kernels).

Signed-off-by: Ken Milmore <ken.milmore@googlemail.com>
Reviewed-by: Martin Peres <martin.peres@ensi-bourges.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_pm.c