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
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
i2c
/
busses
/
i2c-sis5595.c
diff --git
a/drivers/i2c/busses/i2c-sis5595.c
b/drivers/i2c/busses/i2c-sis5595.c
index
a5040cc
..
9469ebf
100644
(file)
--- a/
drivers/i2c/busses/i2c-sis5595.c
+++ b/
drivers/i2c/busses/i2c-sis5595.c
@@
-124,8
+124,8
@@
static int blacklist[] = {
/* If force_addr is set to anything different from 0, we forcibly enable
the device at the given address. */
/* If force_addr is set to anything different from 0, we forcibly enable
the device at the given address. */
-static
int
force_addr = 0;
-
MODULE_PARM(force_addr, "i"
);
+static
u16
force_addr = 0;
+
module_param(force_addr, ushort, 0
);
MODULE_PARM_DESC(force_addr, "Initialize the base address of the i2c controller");
static unsigned short sis5595_base = 0;
MODULE_PARM_DESC(force_addr, "Initialize the base address of the i2c controller");
static unsigned short sis5595_base = 0;
@@
-393,7
+393,7
@@
static void __devexit sis5595_remove(struct pci_dev *dev)
}
static struct pci_driver sis5595_driver = {
}
static struct pci_driver sis5595_driver = {
- .name = "sis5595
smbus",
+ .name = "sis5595
_
smbus",
.id_table = sis5595_ids,
.probe = sis5595_probe,
.remove = __devexit_p(sis5595_remove),
.id_table = sis5595_ids,
.probe = sis5595_probe,
.remove = __devexit_p(sis5595_remove),