patch-2.3.48 linux/drivers/i2c/i2c-core.c
Next file: linux/drivers/isdn/avmb1/b1dma.c
Previous file: linux/drivers/char/wdt977.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sat Feb 26 20:33:02 2000
- Orig file:
v2.3.47/linux/drivers/i2c/i2c-core.c
- Orig date:
Thu Feb 10 17:11:08 2000
diff -u --recursive --new-file v2.3.47/linux/drivers/i2c/i2c-core.c linux/drivers/i2c/i2c-core.c
@@ -101,10 +101,6 @@
read: i2cproc_bus_read,
};
-static struct inode_operations i2cproc_inode_operations = {
- &i2cproc_operations
-};
-
static int i2cproc_initialized = 0;
#else /* undef CONFIG_PROC_FS */
@@ -163,7 +159,7 @@
name);
return -ENOENT;
}
- proc_entry->ops = &i2cproc_inode_operations;
+ proc_entry->proc_fops = &i2cproc_operations;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,3,27))
proc_entry->owner = THIS_MODULE;
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)