commit | 2cb496db3d56baa86d53022044c4d25ffe7fa038 | [log] [tgz] |
---|---|---|
author | Javier Martinez Canillas <javier@osg.samsung.com> | Tue Oct 18 18:01:47 2016 -0300 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Oct 25 11:49:00 2016 +0200 |
tree | be35d10429f22f8a85283e35200b056b03474469 | |
parent | 06e7b10a8711d10b4c4c21ab1aac3f1529a084df [diff] |
i2c: xlr: Fix module autoload for OF registration If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>