[patch] it87: /proc/ioports fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

Trivial patch against 2.6.10-rc3-bk2.
When request_region is called name is set to "", use module name.

Signed-off-by: Domen Puncer <domen at coderock.org>

--- c/drivers/i2c/chips/it87.c	2004-12-07 18:29:18.000000000 +0100
+++ a/drivers/i2c/chips/it87.c	2004-12-10 14:41:29.000000000 +0100
@@ -624,7 +624,7 @@ int it87_detect(struct i2c_adapter *adap
 
 	/* 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



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux