From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756588AbaEGPPC (ORCPT ); Wed, 7 May 2014 11:15:02 -0400 Received: from top.free-electrons.com ([176.31.233.9]:60086 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751946AbaEGPO7 (ORCPT ); Wed, 7 May 2014 11:14:59 -0400 Date: Wed, 7 May 2014 17:14:56 +0200 From: Thomas Petazzoni To: Cc: Gregory CLEMENT , Mathias Nyman , Greg Kroah-Hartman , , , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Ezequiel Garcia , , Lior Amsalem , Tawfik Bayouk , Nadav Haklai , Grant Likely , Rob Herring , Subject: Re: [PATCH v3 06/20] usb: host: xhci-plat: Add support for the Armada 38x Message-ID: <20140507171456.3124ec71@free-electrons.com> In-Reply-To: <20140507151008.GD769@saruman.home> References: <1399335255-589-1-git-send-email-gregory.clement@free-electrons.com> <1399335255-589-7-git-send-email-gregory.clement@free-electrons.com> <20140506153953.GF25849@saruman.home> <20140507122326.54f3febc@free-electrons.com> <20140507151008.GD769@saruman.home> Organization: Free Electrons X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.20; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Felipe Balbi, On Wed, 7 May 2014 10:10:08 -0500, Felipe Balbi wrote: > > ifneq ($(CONFIG_USB_XHCI_MVEBU), ) > > xhci-hcd-y += xhci-mvebu.o > > endif > > > > Right? > > correct :-) > > > If so, then what about instead making CONFIG_USB_XHCI_MVEBU a bool > > instead of a tristate? It's more an option for the xhci-platform > > driver than an additional separate module, IMO. What do you think? > > fine by me too. It simply adds a quirk callback to xhci-plat. In the end, I settled on keeping the tristate, and used your suggestion. Because since xhci-plat itself is a blind option, and xhci-mvebu selects it, if xhci-mvebu is a bool, there would no longer be a way to have xhci-plat as a module. At least that's my understanding of the kconfig stuff :) Thanks! Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com