interconnect: qcom: Kconfig: Make INTERCONNECT_QCOM tristate
authorHuang Yiwei <quic_hyiwei@quicinc.com>
Wed, 14 Sep 2022 06:41:22 +0000 (14:41 +0800)
committerGeorgi Djakov <djakov@kernel.org>
Tue, 20 Sep 2022 12:53:57 +0000 (15:53 +0300)
Make INTERCONNECT_QCOM tristate so that icc-common.c can be
compiled as a module.

Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
Reviewed-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220914064122.16222-1-quic_hyiwei@quicinc.com
Signed-off-by: Georgi Djakov <djakov@kernel.org>
drivers/interconnect/qcom/Kconfig
drivers/interconnect/qcom/icc-common.c

index 25d5b4b..1a1c941 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config INTERCONNECT_QCOM
-       bool "Qualcomm Network-on-Chip interconnect drivers"
+       tristate "Qualcomm Network-on-Chip interconnect drivers"
        depends on ARCH_QCOM
        help
          Support for Qualcomm's Network-on-Chip interconnect hardware.
index 0822ce2..f27f4fd 100644 (file)
@@ -5,6 +5,7 @@
 
 #include <linux/of.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #include "icc-common.h"
 
@@ -32,3 +33,5 @@ struct icc_node_data *qcom_icc_xlate_extended(struct of_phandle_args *spec, void
        return ndata;
 }
 EXPORT_SYMBOL_GPL(qcom_icc_xlate_extended);
+
+MODULE_LICENSE("GPL");