git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
i2c
/
busses
/
i2c-sis96x.c
diff --git
a/drivers/i2c/busses/i2c-sis96x.c
b/drivers/i2c/busses/i2c-sis96x.c
index
3024907
..
7fd07fb
100644
(file)
--- a/
drivers/i2c/busses/i2c-sis96x.c
+++ b/
drivers/i2c/busses/i2c-sis96x.c
@@
-43,13
+43,6
@@
#include <linux/init.h>
#include <asm/io.h>
#include <linux/init.h>
#include <asm/io.h>
-/*
- HISTORY:
- 2003-05-11 1.0.0 Updated from lm_sensors project for kernel 2.5
- (was i2c-sis645.c from lm_sensors 2.7.0)
-*/
-#define SIS96x_VERSION "1.0.0"
-
/* base address register in PCI config space */
#define SIS96x_BAR 0x04
/* base address register in PCI config space */
#define SIS96x_BAR 0x04
@@
-249,7
+242,7
@@
static u32 sis96x_func(struct i2c_adapter *adapter)
I2C_FUNC_SMBUS_PROC_CALL;
}
I2C_FUNC_SMBUS_PROC_CALL;
}
-static struct i2c_algorithm smbus_algorithm = {
+static
const
struct i2c_algorithm smbus_algorithm = {
.smbus_xfer = sis96x_access,
.functionality = sis96x_func,
};
.smbus_xfer = sis96x_access,
.functionality = sis96x_func,
};
@@
-337,7
+330,6
@@
static struct pci_driver sis96x_driver = {
static int __init i2c_sis96x_init(void)
{
static int __init i2c_sis96x_init(void)
{
- printk(KERN_INFO "i2c-sis96x version %s\n", SIS96x_VERSION);
return pci_register_driver(&sis96x_driver);
}
return pci_register_driver(&sis96x_driver);
}