misc: bh1780: Add module aliases
[cascardo/linux.git] / drivers / misc / bh1780gli.c
index 4c4a59b..7f90ce5 100644 (file)
@@ -230,6 +230,8 @@ static const struct i2c_device_id bh1780_id[] = {
        { },
 };
 
+MODULE_DEVICE_TABLE(i2c, bh1780_id);
+
 #ifdef CONFIG_OF
 static const struct of_device_id of_bh1780_match[] = {
        { .compatible = "rohm,bh1780gli", },