diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-09-12 10:54:26 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-09-21 14:42:36 -0500 |
commit | 8fb7ab504381b8ce4f443129e102a713bd76dfe2 (patch) | |
tree | f46aec023d2153d05ef9a41da1795eba423ea7ca /drivers/usb/phy | |
parent | 51b91b7e6c1516c7d3ea70acc91aac9b32ae3e72 (diff) | |
download | blackbird-op-linux-8fb7ab504381b8ce4f443129e102a713bd76dfe2.tar.gz blackbird-op-linux-8fb7ab504381b8ce4f443129e102a713bd76dfe2.zip |
usb: phy: isp1301: Export I2C module alias information
The I2C core always reports the MODALIAS uevent as "i2c:<client name"
regardless if the device was registered using OF or platform code so
So the driver needs to export the I2C table and this be built into
the module or udev won't have the necessary information to auto load
the module when the device is added.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r-- | drivers/usb/phy/phy-isp1301.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-isp1301.c b/drivers/usb/phy/phy-isp1301.c index 8a55b37d1a02..db68156568e6 100644 --- a/drivers/usb/phy/phy-isp1301.c +++ b/drivers/usb/phy/phy-isp1301.c @@ -31,6 +31,7 @@ static const struct i2c_device_id isp1301_id[] = { { "isp1301", 0 }, { } }; +MODULE_DEVICE_TABLE(i2c, isp1301_id); static struct i2c_client *isp1301_i2c_client; |