]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf91d9a2dac2f5c445624bd3bfde37948ca9ed6d8
tree7532a8c9141dc50ee4a135c2af4855ac125b9906
parent85b5adbb526a26facb9e4622bb77e34f35748bc1
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