From 11a8bf78fa21d3fcb26f87eb94f32859bf707cb5 Mon Sep 17 00:00:00 2001 From: "Mark D. Studebaker" Date: Tue, 20 Feb 2001 02:12:39 +0000 Subject: [PATCH] renamed i2c_i810i2c_init() to i2c_i810_init() to match what mkpatch patches in patched kernel. Affected only kernel patches; standalone build was fine. Ticket # 492. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1026 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + kernel/busses/i2c-i810.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index b604586e..9594aea3 100644 --- a/CHANGES +++ b/CHANGES @@ -32,6 +32,7 @@ ask CVS about it: Library: Fix/standardize some lm87 and mtp008 entries Chip Modules (all ISA): Remove #include "i2c-isa.h" Module i2c-i801: Chip detection cleanup + Module i2c-i810: Fixed i2c_i810_init() not found in patched kernel Module lm78: Recognize chipid=0x20 Module lm87: Fix in0, in1 (2.5V and Vccp1) calculations Module mtp008: Fix temp2 max initialization diff --git a/kernel/busses/i2c-i810.c b/kernel/busses/i2c-i810.c index bf6b3c1d..94c56cfc 100644 --- a/kernel/busses/i2c-i810.c +++ b/kernel/busses/i2c-i810.c @@ -91,7 +91,7 @@ static #else extern #endif -int __init i2c_i810i2c_init(void); +int __init i2c_i810_init(void); static int __init i810i2c_cleanup(void); static int i810i2c_setup(void); static void config_i810(struct pci_dev *dev); @@ -267,7 +267,7 @@ void i810_dec(struct i2c_adapter *adapter) MOD_DEC_USE_COUNT; } -int __init i2c_i810i2c_init(void) +int __init i2c_i810_init(void) { int res; printk("i2c-i810.o version %s (%s)\n", LM_VERSION, LM_DATE); @@ -333,7 +333,7 @@ MODULE_DESCRIPTION("I810/I815 I2C/DDC driver"); int init_module(void) { - return i2c_i810i2c_init(); + return i2c_i810_init(); } int cleanup_module(void)