From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757060AbcIPCQO (ORCPT ); Thu, 15 Sep 2016 22:16:14 -0400 Received: from mail-pa0-f67.google.com ([209.85.220.67]:34955 "EHLO mail-pa0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754064AbcIPCQE (ORCPT ); Thu, 15 Sep 2016 22:16:04 -0400 From: Axel Lin To: Kishon Vijay Abraham I Cc: Hans de Goede , Maxime Ripard , linux-kernel@vger.kernel.org, Axel Lin Subject: [PATCH] phy: sun4i-usb: Fix build dependency Date: Fri, 16 Sep 2016 10:15:48 +0800 Message-Id: <1473992148-8860-1-git-send-email-axel.lin@ingics.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org of_usb_get_dr_mode_by_phy will not be compiled if !USB_COMMON, fix below build error. ERROR: "of_usb_get_dr_mode_by_phy" [drivers/phy/phy-sun4i-usb.ko] undefined! scripts/Makefile.modpost:91: recipe for target '__modpost' failed make[1]: *** [__modpost] Error 1 Signed-off-by: Axel Lin --- drivers/phy/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index cc27c12..b65aba0 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -258,6 +258,8 @@ config PHY_SUN4I_USB depends on RESET_CONTROLLER depends on EXTCON depends on POWER_SUPPLY + depends on USB_SUPPORT + select USB_COMMON select GENERIC_PHY help Enable this to support the transceiver that is part of Allwinner -- 2.7.4