Skip to content
Commit 157f5276 authored by Mian Yousaf Kaukab's avatar Mian Yousaf Kaukab Committed by Viresh Kumar
Browse files

cpufreq: qoriq: convert to a platform driver



The driver has to be manually loaded if it is built as a module. It
is neither exporting MODULE_DEVICE_TABLE nor MODULE_ALIAS. Moreover,
no platform-device is created (and thus no uevent is sent) for the
clockgen nodes it depends on.

Convert the module to a platform driver with its own alias. Moreover,
drop whitelisted SOCs. Platform device will be created only for the
compatible platforms.

Reviewed-by: default avatarYuantian Tang <andy.tang@nxp.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarMian Yousaf Kaukab <ykaukab@suse.de>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 2dea6516
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment