On Mon 14 Sep 21:04 UTC 2020, John Stultz wrote: > Allows qcom-pdc driver to be loaded as a permanent module. > > An earlier version of this patch was merged in a larger patchset > but was reverted entirely when issues were found with other > drivers, so now that Marc has provided a better solution in his > Hybrid probing patch set, I wanted to re-submit this change. >
Reviewed-by: Bjorn Andersson <bjorn.anders...@linaro.org> > Cc: Andy Gross <agr...@kernel.org> > Cc: Bjorn Andersson <bjorn.anders...@linaro.org> > Cc: Joerg Roedel <j...@8bytes.org> > Cc: Thomas Gleixner <t...@linutronix.de> > Cc: Jason Cooper <ja...@lakedaemon.net> > Cc: Marc Zyngier <m...@kernel.org> > Cc: Linus Walleij <linus.wall...@linaro.org> > Cc: Maulik Shah <mks...@codeaurora.org> > Cc: Lina Iyer <il...@codeaurora.org> > Cc: Saravana Kannan <sarava...@google.com> > Cc: Todd Kjos <tk...@google.com> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Cc: linux-arm-...@vger.kernel.org > Cc: io...@lists.linux-foundation.org > Cc: linux-g...@vger.kernel.org > Signed-off-by: John Stultz <john.stu...@linaro.org> > --- > drivers/irqchip/Kconfig | 2 +- > drivers/irqchip/qcom-pdc.c | 2 ++ > 2 files changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig > index bfc9719dbcdc..bb70b7177f94 100644 > --- a/drivers/irqchip/Kconfig > +++ b/drivers/irqchip/Kconfig > @@ -425,7 +425,7 @@ config GOLDFISH_PIC > for Goldfish based virtual platforms. > > config QCOM_PDC > - bool "QCOM PDC" > + tristate "QCOM PDC" > depends on ARCH_QCOM > select IRQ_DOMAIN_HIERARCHY > help > diff --git a/drivers/irqchip/qcom-pdc.c b/drivers/irqchip/qcom-pdc.c > index 8543fa23da10..59eb3c8473b0 100644 > --- a/drivers/irqchip/qcom-pdc.c > +++ b/drivers/irqchip/qcom-pdc.c > @@ -433,3 +433,5 @@ static int qcom_pdc_init(struct device_node *node, struct > device_node *parent) > IRQCHIP_HYBRID_DRIVER_BEGIN(qcom_pdc) > IRQCHIP_MATCH("qcom,pdc", qcom_pdc_init) > IRQCHIP_HYBRID_DRIVER_END(qcom_pdc) > +MODULE_DESCRIPTION("Qualcomm Technologies, Inc. Power Domain Controller"); > +MODULE_LICENSE("GPL v2"); > -- > 2.17.1 >