From: Javier Martinez Canillas Date: Thu, 30 Jul 2015 16:18:26 +0000 (+0200) Subject: mfd: stw481x: Export I2C module alias information X-Git-Tag: v4.14-rc1~4760^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0f63bdedcc749917e74093ecbd8dae7b77934f19;p=platform%2Fkernel%2Flinux-rpi.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 7ceb3df..ca613df 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", },