From patchwork Fri Aug 24 18:38:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 1373371 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 705F6402E1 for ; Sat, 25 Aug 2012 13:43:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3BD759E9CC for ; Sat, 25 Aug 2012 06:43:51 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by gabe.freedesktop.org (Postfix) with ESMTP id E59BEA0F25 for ; Fri, 24 Aug 2012 11:39:00 -0700 (PDT) Received: by wibhq4 with SMTP id hq4so1011354wib.12 for ; Fri, 24 Aug 2012 11:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=2X+wiO814HOzYE4pYmnbmvxzgBfgHVjbaaSE6ZATjA0=; b=qYRdb9sqgmdSTcyQXN6g52ljFpn4lcYpAkaeKNl2UlOUVscdtDvDsUBAYDZM2E29VI a+HbVxnjg7D9Ttx4P+hV3jWdGEQFK8EQthIOr0u47Am4IU6nPAzxePRxg1VPQVqjg/tE 0W3/U6uXZ+FMqDGXQnuTThUmXQE4P3FZp2bZFkIx4hLk5ZTHQivpwvzWtCMHGnTKAr2F OLhUl/TWQJUP3a2ByzvPLdhagvyW1rGjcIUwYgIVd5hyE/Iq+jO5mgRvbntZYrpcTPZW 7tgxn/K4LSch/SZyjACBBTFzovWL6zejbqIpW/80M4FrvtQ6LKGMF+6TklexL8nOryaa 9sUw== Received: by 10.180.107.163 with SMTP id hd3mr7434683wib.19.1345833539972; Fri, 24 Aug 2012 11:38:59 -0700 (PDT) Received: from fambox.fritz.box (p5B2EA080.dip.t-dialin.net. [91.46.160.128]) by mx.google.com with ESMTPS id ef5sm326271wib.3.2012.08.24.11.38.58 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 11:38:58 -0700 (PDT) From: Sedat Dilek To: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH drm-next] drm: udl: usb: Fix recursive Kconfig dependency Date: Fri, 24 Aug 2012 20:38:42 +0200 Message-Id: <1345833522-16618-1-git-send-email-sedat.dilek@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-Mailman-Approved-At: Sat, 25 Aug 2012 06:43:36 -0700 Cc: Sedat Dilek X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org In drivers/usb/Kconfig "config USB_ARCH_HAS_HCD" is within "if USB_SUPPORT" statement. In drivers/gpu/drm/Kconfig "config DRM_USB" depends on USB_ARCH_HAS_HCD but selects USB_SUPPORT which leads to the error for udl Kconfig: $ yes "" | make oldconfig scripts/kconfig/conf --oldconfig Kconfig drivers/gpu/drm/udl/Kconfig:1:error: recursive dependency detected! drivers/gpu/drm/udl/Kconfig:1: symbol DRM_UDL depends on USB_ARCH_HAS_HCD drivers/usb/Kconfig:76: symbol USB_ARCH_HAS_HCD depends on USB_SUPPORT drivers/usb/Kconfig:58: symbol USB_SUPPORT is selected by DRM_USB drivers/gpu/drm/Kconfig:22: symbol DRM_USB is selected by DRM_UDL Fix the issue by dropping "select USB_SUPPORT" from "config DRM_USB". Signed-off-by: Sedat Dilek --- drivers/gpu/drm/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 3a8c683..90e2808 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -24,7 +24,6 @@ config DRM_USB depends on DRM depends on USB_ARCH_HAS_HCD select USB - select USB_SUPPORT config DRM_KMS_HELPER tristate