Commit 5334a3b1 authored by Bjorn Andersson's avatar Bjorn Andersson

soc: qcom: llcc: Add MODULE_DEVICE_TABLE()

The llcc-qcom driver can be compiled as a module, but lacks
MODULE_DEVICE_TABLE() and will therefore not be loaded automatically.
Fix this.

Fixes: a3134fb0 ("drivers: soc: Add LLCC driver")
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: default avatarSai Prakash Ranjan <quic_saipraka@quicinc.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220408213336.581661-3-bjorn.andersson@linaro.org
parent a1793920
...@@ -749,6 +749,7 @@ static const struct of_device_id qcom_llcc_of_match[] = { ...@@ -749,6 +749,7 @@ static const struct of_device_id qcom_llcc_of_match[] = {
{ .compatible = "qcom,sm8450-llcc", .data = &sm8450_cfg }, { .compatible = "qcom,sm8450-llcc", .data = &sm8450_cfg },
{ } { }
}; };
MODULE_DEVICE_TABLE(of, qcom_llcc_of_match);
static struct platform_driver qcom_llcc_driver = { static struct platform_driver qcom_llcc_driver = {
.driver = { .driver = {
......
Markdown is supported
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