diff mbox

[1/2] soc: ti: knav_qmss_queue: makefile tweak to build as dynamic module

Message ID 1422563870-19252-1-git-send-email-m-karicheri2@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Murali Karicheri Jan. 29, 2015, 8:37 p.m. UTC
Currently configuring qmss and dma as dynamic module creates three .ko
files. knav_qmss_acc.ko and knav_qmss_queue.ko both can't be insmod
because of circular dependency. So combine these two into one module
by changing the makefile.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
---
 drivers/soc/ti/Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Santosh Shilimkar Jan. 29, 2015, 9:25 p.m. UTC | #1
On 1/29/15 12:37 PM, Murali Karicheri wrote:
> Currently configuring qmss and dma as dynamic module creates three .ko
> files. knav_qmss_acc.ko and knav_qmss_queue.ko both can't be insmod
> because of circular dependency. So combine these two into one module
> by changing the makefile.
>
> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>

Applied both $subject and 2/2. Thanks

Regards,
Santosh
diff mbox

Patch

diff --git a/drivers/soc/ti/Makefile b/drivers/soc/ti/Makefile
index 6bed611..135bdad 100644
--- a/drivers/soc/ti/Makefile
+++ b/drivers/soc/ti/Makefile
@@ -1,5 +1,6 @@ 
 #
 # TI Keystone SOC drivers
 #
-obj-$(CONFIG_KEYSTONE_NAVIGATOR_QMSS)	+= knav_qmss_queue.o knav_qmss_acc.o
+obj-$(CONFIG_KEYSTONE_NAVIGATOR_QMSS)	+= knav_qmss.o
+knav_qmss-y := knav_qmss_queue.o knav_qmss_acc.o
 obj-$(CONFIG_KEYSTONE_NAVIGATOR_DMA)	+= knav_dma.o