From patchwork Sun Nov 22 12:01:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 330515 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B9FCC5519F for ; Sun, 22 Nov 2020 12:01:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2C4F42078D for ; Sun, 22 Nov 2020 12:01:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Iy82igAh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727517AbgKVMBi (ORCPT ); Sun, 22 Nov 2020 07:01:38 -0500 Received: from mail.kernel.org ([198.145.29.99]:35000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727318AbgKVMBh (ORCPT ); Sun, 22 Nov 2020 07:01:37 -0500 Received: from localhost.localdomain (adsl-84-226-167-205.adslplus.ch [84.226.167.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6AE5620760; Sun, 22 Nov 2020 12:01:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606046497; bh=2/qAX5BkPs42hKYLm51EboQB6diuinSxs3CjQRneQKA=; h=From:To:Cc:Subject:Date:From; b=Iy82igAhyKJfYbtgHiuUQmsly6h9q6ESDduD45mEDrjlpgZDtlIUup03PwkXw9CxE 0+HMP6+kmfgpY20kTMTyy9SgLkTw444ROUabMBUA5/4iJepVTXnifZR1lNye1NpODd 9eyAfgM4tD34E2Fzr9jH/bkSbD+FCsdn2YVdyGh0= From: Krzysztof Kozlowski To: Lee Jones , Tony Lindgren , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Cc: Krzysztof Kozlowski , kernel test robot Subject: [PATCH] mfd: omap-usb: depend on COMMON_CLK to fix compile tests Date: Sun, 22 Nov 2020 13:01:33 +0100 Message-Id: <20201122120133.100170-1-krzk@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The MFD_OMAP_USB_HOST uses Common Clock Framework thus it cannot be built on platforms without it (e.g. compile test on MIPS with LANTIQ): mips-linux-ld: drivers/mfd/omap-usb-host.o: in function `usbhs_omap_probe': omap-usb-host.c:(.text+0x940): undefined reference to `clk_set_parent' Reported-by: kernel test robot Signed-off-by: Krzysztof Kozlowski --- drivers/mfd/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index cc0b73280c68..fe79e8ff4669 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -1442,6 +1442,7 @@ config MFD_TI_LMU config MFD_OMAP_USB_HOST bool "TI OMAP USBHS core and TLL driver" depends on USB_EHCI_HCD_OMAP || USB_OHCI_HCD_OMAP3 + depends on COMMON_CLK default y help This is the core driver for the OAMP EHCI and OHCI drivers.