From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Walker Subject: Re: msm gadget compilation failure with trout Date: Thu, 27 Jan 2011 13:26:55 -0800 Message-ID: <1296163615.28965.16.camel@c-dwalke-linux.qualcomm.com> References: <1296162765.22156.4.camel@gnutoo-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:16547 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753224Ab1A0V1a (ORCPT ); Thu, 27 Jan 2011 16:27:30 -0500 In-Reply-To: <1296162765.22156.4.camel@gnutoo-laptop> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Denis 'GNUtoo' Carikli Cc: linux-arm-msm@vger.kernel.org, Pavankumar Kondeti , Greg Kroah-Hartman On Thu, 2011-01-27 at 22:12 +0100, Denis 'GNUtoo' Carikli wrote: > Hi, > > I've that: > drivers/usb/gadget/ci13xxx_msm.c: In function > 'ci13xxx_msm_notify_event': > drivers/usb/gadget/ci13xxx_msm.c:42:3: error: 'USB_AHBBURST' undeclared > (first use in this function) > drivers/usb/gadget/ci13xxx_msm.c:42:3: note: each undeclared identifier > is reported only once for each function it appears in > drivers/usb/gadget/ci13xxx_msm.c:43:3: error: 'USB_AHBMODE' undeclared > (first use in this function) > make[2]: *** [drivers/usb/gadget/ci13xxx_msm.o] Error 1 > make[1]: *** [drivers/usb/gadget] Error 2 > make[1]: *** Waiting for unfinished jobs.... > > here's my setup: > * linux-next/master > ( git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git ) at > 47db3d1b0b3d69c6e977158ac354a972b81677bd > * trout(also known as htc dream or G1) board > > Should I include my defconfig? > Should I include more details? > Am I using the gadget wrong driver? > > Denis. Looks like it was cause by this commit, commit e0c201f339fe7fc38d1b0f6f4755ff627686c7e0 Author: Pavankumar Kondeti Date: Tue Dec 7 17:53:55 2010 +0530 USB: Add MSM OTG Controller driver This driver implements PHY initialization, clock management, ULPI IO ops and simple OTG state machine to kick host/peripheral based on Id/VBUS line status. VBUS/Id lines are tied to a reference voltage on some boards. Hence provide debugfs interface to select host/peripheral mode. Signed-off-by: Pavankumar Kondeti Signed-off-by: Greg Kroah-Hartman I CC'd the people in the commit.. I have no idea what those values are support to be. Daniel -- Sent by a consultant of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.