]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/hwmon/w83781d.c
V4L/DVB (10344): gspca - ov534: Disable the Hercules webcams.
[linux-2.6-omap-h63xx.git] / drivers / hwmon / w83781d.c
index d4d1b859d4f1df2a9262fd3a22629de4eb484292..dbfb30c588d8cfea06d59ab240dce5e2d07cde15 100644 (file)
@@ -58,7 +58,10 @@ static const unsigned short normal_i2c[] = { 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d,
                                                0x2e, 0x2f, I2C_CLIENT_END };
 /* Insmod parameters */
 I2C_CLIENT_INSMOD_4(w83781d, w83782d, w83783s, as99127f);
-I2C_CLIENT_MODULE_PARM(force_subclients, "List of subclient addresses: "
+
+static unsigned short force_subclients[4];
+module_param_array(force_subclients, short, NULL, 0);
+MODULE_PARM_DESC(force_subclients, "List of subclient addresses: "
                    "{bus, clientaddr, subclientaddr1, subclientaddr2}");
 
 static int reset;
@@ -1968,7 +1971,7 @@ exit:
        return res;
 }
 
-static void __exit
+static void
 w83781d_isa_unregister(void)
 {
        if (pdev) {
@@ -2017,7 +2020,7 @@ w83781d_isa_register(void)
        return 0;
 }
 
-static void __exit
+static void
 w83781d_isa_unregister(void)
 {
 }