]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/i2c/busses/i2c-gpio.c
i2c: Let bus drivers add SPD to their class
[linux-2.6-omap-h63xx.git] / drivers / i2c / busses / i2c-gpio.c
index 7c1b762aa681fc727312c0e0c1db08dbff0c2c04..79b455a1f090587c4c63d5b29b76d8474c81b122 100644 (file)
@@ -140,7 +140,7 @@ static int __init i2c_gpio_probe(struct platform_device *pdev)
        adap->owner = THIS_MODULE;
        snprintf(adap->name, sizeof(adap->name), "i2c-gpio%d", pdev->id);
        adap->algo_data = bit_data;
-       adap->class = I2C_CLASS_HWMON;
+       adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD;
        adap->dev.parent = &pdev->dev;
 
        /*