]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rtc: max77802: Report platform modalias to fix module autoload
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Wed, 13 May 2015 15:18:02 +0000 (17:18 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 24 Jun 2015 23:13:37 +0000 (01:13 +0200)
commit9bde31df56bdd8950e31ae409af5276cb324058c
treedba670a28dc49c1c939399227ac6bb8b7a2fc9ce
parent2d0cca0db4134712c7a67694c5aab57a49e228f2
rtc: max77802: Report platform modalias to fix module autoload

If the rtc-max77802 driver is built as a module, modalias information is
not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE()
macro to export the platform ID table so the module contains that data.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-max77802.c