drm/nouveau/therm: use the EXTDEV table to detect i2c monitoring devices
authorMartin Peres <martin.peres@labri.fr>
Sat, 18 Aug 2012 14:33:53 +0000 (16:33 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:13:13 +0000 (13:13 +1000)
commit32334cc03a12c51f64613608a8b261738406e1e2
tree7532a8c9141dc50ee4a135c2af4855ac125b9906
parent7d70e9c1c69a5d22588ff5977249ac944d7cdfb0
drm/nouveau/therm: use the EXTDEV table to detect i2c monitoring devices

This commit also adds a static list of all known devices and their possible
i2c addresses.

v2: use the common table parsing technique as suggested by darktama

Signed-off-by: Martin Peres <martin.peres@labri.fr>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/core/include/subdev/bios/extdev.h [new file with mode: 0644]
drivers/gpu/drm/nouveau/core/subdev/bios/extdev.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nouveau_temp.c