vserver 1.9.3
[linux-2.6.git] / drivers / i2c / busses / i2c-i801.c
index 4689bd0..e873ba0 100644 (file)
@@ -98,8 +98,8 @@
 
 /* If force_addr is set to anything different from 0, we forcibly enable
    the I801 at the given address. VERY DANGEROUS! */
-static int force_addr = 0;
-MODULE_PARM(force_addr, "i");
+static u16 force_addr;
+module_param(force_addr, ushort, 0);
 MODULE_PARM_DESC(force_addr,
                 "Forcibly enable the I801 at the given address. "
                 "EXTREMELY DANGEROUS!");
@@ -623,7 +623,7 @@ static void __devexit i801_remove(struct pci_dev *dev)
 }
 
 static struct pci_driver i801_driver = {
-       .name           = "i801 smbus",
+       .name           = "i801_smbus",
        .id_table       = i801_ids,
        .probe          = i801_probe,
        .remove         = __devexit_p(i801_remove),