From patchwork Fri Aug 24 19:20:03 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 1373381 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 04727DF6DA for ; Sat, 25 Aug 2012 13:44:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 231689E982 for ; Sat, 25 Aug 2012 06:44:42 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id A09549E7BF for ; Fri, 24 Aug 2012 12:20:13 -0700 (PDT) Received: by weyr3 with SMTP id r3so1269642wey.36 for ; Fri, 24 Aug 2012 12:20:12 -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=+NPlmuZ9BI2jaJRQb+vjNBShmsAcWXA77S1gjh+bmJ4=; b=dHShINaRuDuOTPzK8Sk6aBZeuHZwLWg09KgxSCyruxKY4Su+DU1RiZ5qjQRj6bNxYM M1CZhaQ7+N+5Aq0I7V51QjFFFndbsIpvE8i8MwATW172UC/VBjGyzuIJKFYMj8dbq7uE 8iyamPxjuhHRBnExfx0UAxwfxXIdM7LW6+w0/DuZwxOnFXohBvRbZbl7onZjM+A8jwlB AvUVsdD9eKa4wEObqkmIfY3GWi0TAwclnBQSBnKi8v75/b3frE97Zr0S1FcWyBUxtlHo rjR0BVkfapWiZql11tBH8n2uT7UyQAFsyerjFs9o6EtQ8a0YS0MfH+n8fc7WY5gD9Lcr 1eCw== Received: by 10.216.181.195 with SMTP id l45mr3185910wem.52.1345836012306; Fri, 24 Aug 2012 12:20:12 -0700 (PDT) Received: from fambox.fritz.box (p5B2EA080.dip.t-dialin.net. [91.46.160.128]) by mx.google.com with ESMTPS id fb20sm616308wid.1.2012.08.24.12.20.11 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 24 Aug 2012 12:20:11 -0700 (PDT) From: Sedat Dilek To: David Airlie , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH drm-next v2] drm: udl: usb: Fix recursive Kconfig dependency Date: Fri, 24 Aug 2012 21:20:03 +0200 Message-Id: <1345836003-18541-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 this by changing from select to depends on USB_SUPPORT in "config DRM_USB". This is a follow-up fix to df0b344300724e00db9fff7eb6406eb91f450b91 in Dave's drm-next GIT branch. [ v2: Restore old status, but change from select to depends on USB_SUPPORT ] Signed-off-by: Sedat Dilek --- drivers/gpu/drm/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index 3a8c683..0cbdc45 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -22,9 +22,8 @@ menuconfig DRM config DRM_USB tristate depends on DRM - depends on USB_ARCH_HAS_HCD + depends on USB_SUPPORT && USB_ARCH_HAS_HCD select USB - select USB_SUPPORT config DRM_KMS_HELPER tristate