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)
commit658e86ee2db9500aea529a04008cce10972416bc
tree22e11b22bd0b76b2f6442b99a85dfe5882cd0e44
parent37b034a64bef9ba36c504eb7717d2a5537cdef6b
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