Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752902AbaFKVD2 (ORCPT ); Wed, 11 Jun 2014 17:03:28 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:7589 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752377AbaFKVD0 (ORCPT ); Wed, 11 Jun 2014 17:03:26 -0400 X-IronPort-AV: E=Sophos;i="5.01,460,1400018400"; d="scan'208";a="66789255" Date: Wed, 11 Jun 2014 22:03:02 +0100 (BST) From: Julia Lawall X-X-Sender: jll@hadrien To: Alan Stern cc: Julia Lawall , Himangi Saraogi , Tony Prisk , Greg Kroah-Hartman , linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] uhci-platform: use devm_ioremap resource In-Reply-To: Message-ID: References: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Jun 2014, Alan Stern wrote: > On Wed, 11 Jun 2014, Julia Lawall wrote: > > > > > v2: pass correct arguments to devm_ioremap_resource > > > > Not compile tested due to incompatible architecture. > > > > > > uhci-platform is compatible with all architectures. But you have to > > > add it to the .config file by hand. > > > > What should one do exactly? I added > > > > CONFIG_USB_UHCI_PLATFORM=y > > > > to the end of my .config file, but then running make just overwrites it: > > By golly, you're right... I didn't realize it would do that. > > I guess you have to edit the drivers/usb/host/Kconfig file, changing > > config USB_UHCI_PLATFORM > bool > default y if ARCH_VT8500 > > to > > config USB_UHCI_PLATFORM > bool > default y > > or something equivalent. > > > > > > make drivers/usb/host/uhci-platform.o > > scripts/kconfig/conf --silentoldconfig Kconfig > > # > > # configuration written to .config > > # > > CHK include/config/kernel.release > > CHK include/generated/uapi/linux/version.h > > CHK include/generated/utsrelease.h > > CALL scripts/checksyscalls.sh > > CC drivers/usb/host/uhci-platform.o > > drivers/usb/host/uhci-platform.c:13:38: warning: ?struct usb_hcd? declared > > inside parameter list [enabled by default] > > static int uhci_platform_init(struct usb_hcd *hcd) > > Do > > make drivers/usb/host/uhci-hcd.o > > instead of > > make drivers/usb/host/uhci-platform.o OK, thanks for the explanations. julia -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/