linux/drivers/devfreq/event
Javier Martinez Canillas dfd7c845ba PM / devfreq: rockchip-dfi: Fix module autoload
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.

Before this patch:

$ modinfo drivers/devfreq/event/rockchip-dfi.ko | grep alias
$

After this patch:

$ modinfo drivers/devfreq/event/rockchip-dfi.ko | grep alias
alias:          of:N*T*Crockchip,rk3399-dfiC*
alias:          of:N*T*Crockchip,rk3399-dfi

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2016-11-17 11:31:28 +09:00
..
exynos-nocp.c PM / devfreq: exynos-nocp: Fix module autoload 2016-11-17 11:31:27 +09:00
exynos-nocp.h PM / devfreq: event: Add new Exynos NoC probe driver 2016-05-03 11:21:07 +09:00
exynos-ppmu.c PM / devfreq: exynos-ppmu: remove unneeded of_node_put() 2016-09-06 13:08:40 +09:00
exynos-ppmu.h PM / devfreq: exynos-ppmu: Add the support of PPMUv2 for Exynos5433 2015-09-11 14:22:26 +09:00
Kconfig PM / devfreq: exynos-nocp: Select REGMAP_MMIO 2016-10-10 23:53:48 +02:00
Makefile PM / devfreq: event: support rockchip dfi controller 2016-09-06 13:25:35 +09:00
rockchip-dfi.c PM / devfreq: rockchip-dfi: Fix module autoload 2016-11-17 11:31:28 +09:00