]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pwm: samsung: Use MODULE_DEVICE_TABLE() to include OF modalias
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Thu, 14 May 2015 00:32:31 +0000 (02:32 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 21 May 2015 13:56:53 +0000 (15:56 +0200)
commitcccb94543c8299e0bc7564cc6f8b26e0f15bafde
treea560995d652c0430b1064e722eacc2d2343fcbdf
parentefb0de55b6a2ec15fc424e660601f22ae2fa487a
pwm: samsung: Use MODULE_DEVICE_TABLE() to include OF modalias

If the pwm-samsung 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 OF device ID so the module contains that information.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-samsung.c