diff options
Diffstat (limited to 'x11-drivers/nvidia-drivers/files/NVIDIA_i2c-hwmon.patch')
-rw-r--r-- | x11-drivers/nvidia-drivers/files/NVIDIA_i2c-hwmon.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/x11-drivers/nvidia-drivers/files/NVIDIA_i2c-hwmon.patch b/x11-drivers/nvidia-drivers/files/NVIDIA_i2c-hwmon.patch deleted file mode 100644 index f9fdc27..0000000 --- a/x11-drivers/nvidia-drivers/files/NVIDIA_i2c-hwmon.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- - usr/src/nv/nv-i2c.c | 4 ++++ - 1 file changed, 4 insertions(+) - ---- NVIDIA-Linux-x86-1.0-9746-pkg1.orig/usr/src/nv/nv-i2c.c 2006-12-15 19:32:58.000000000 +0100 -+++ NVIDIA-Linux-x86-1.0-9746-pkg1/usr/src/nv/nv-i2c.c 2007-01-06 16:50:48.000000000 +0100 -@@ -250,6 +250,10 @@ void* NV_API_CALL nv_i2c_add_adapter(nv_ - snprintf(pI2cAdapter->name, I2C_NAME_SIZE, - "NVIDIA i2c adapter %u at %x:%02x.%u", port, nv->bus, - nv->slot, PCI_FUNC(nvl->dev->devfn)); -+#ifdef I2C_CLASS_HWMON -+ if (port == 2) -+ pI2cAdapter->class = I2C_CLASS_HWMON; -+#endif - - // add our data to the structure - pI2cAdapter->algo_data = (void *)nv; |