From: Javier Martinez Canillas Date: Thu, 30 Jul 2015 16:18:26 +0000 (+0200) Subject: mfd: stw481x: Export I2C module alias information X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0f63bdedcc749917e74093ecbd8dae7b77934f19;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git mfd: stw481x: Export I2C module alias information The I2C core always reports the MODALIAS uevent as "i2c: Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/stw481x.c b/drivers/mfd/stw481x.c index 7ceb3df09e25..ca613df36143 100644 --- a/drivers/mfd/stw481x.c +++ b/drivers/mfd/stw481x.c @@ -231,6 +231,7 @@ static const struct i2c_device_id stw481x_id[] = { { "stw481x", 0 }, { }, }; +MODULE_DEVICE_TABLE(i2c, stw481x_id); static const struct of_device_id stw481x_match[] = { { .compatible = "st,stw4810", },