linux_dsm_epyc7002/drivers/interconnect
Viresh Kumar fcb57bfcb8 interconnect: Disallow interconnect core to be built as a module
Building individual drivers as modules is fine but allowing a core
framework to be built as a module makes it really complex and should be
avoided.

Whatever uses the interconnect core APIs must also be built as a module
if interconnect core is built as module, else we will see compilation
failures.

If another core framework (like cpufreq, clk, etc), that can't be built
as module, needs to use interconnect APIs then we will start seeing
compilation failures with allmodconfig configurations as the symbols
(like of_icc_get()) used in other frameworks will not be available in
the built-in image.

Disallow the interconnect core to be built as a module to avoid all
these issues.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/b789cce388dd1f2906492f307dea6780c398bc6a.1567065991.git.viresh.kumar@linaro.org
Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
2020-05-15 10:34:45 +03:00
..
qcom interconnect: qcom: Add OSM L3 support on SC7180 2020-03-03 19:02:52 +02:00
core.c interconnect: Add of_icc_get_by_index() helper function 2020-05-13 14:06:32 +03:00
internal.h interconnect: Add a name to struct icc_path 2019-12-16 09:25:23 +02:00
Kconfig interconnect: Disallow interconnect core to be built as a module 2020-05-15 10:34:45 +03:00
Makefile interconnect: Add basic tracepoints 2019-12-16 09:25:23 +02:00
trace.h interconnect: Add basic tracepoints 2019-12-16 09:25:23 +02:00