Re: [PATCH] I2C patches for 2.6.10

From: Greg KH
Date: Sat Jan 08 2005 - 03:55:38 EST


ChangeSet 1.1938.445.5, 2004/12/15 11:43:29-08:00, domen@xxxxxxxxxxxx

[PATCH] it87: /proc/ioports fix

When request_region is called name is set to "", use module name.

Signed-off-by: Domen Puncer <domen@xxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <greg@xxxxxxxxx>


drivers/i2c/chips/it87.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/i2c/chips/it87.c b/drivers/i2c/chips/it87.c
--- a/drivers/i2c/chips/it87.c 2005-01-07 14:55:51 -08:00
+++ b/drivers/i2c/chips/it87.c 2005-01-07 14:55:51 -08:00
@@ -624,7 +624,7 @@

/* Reserve the ISA region */
if (is_isa)
- if (!request_region(address, IT87_EXTENT, name))
+ if (!request_region(address, IT87_EXTENT, it87_driver.name))
goto ERROR0;

/* Probe whether there is anything available on this address. Already

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/