From patchwork Thu Jul 14 07:45:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 974522 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p6E7jQLY027429 for ; Thu, 14 Jul 2011 07:45:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753921Ab1GNHpX (ORCPT ); Thu, 14 Jul 2011 03:45:23 -0400 Received: from na3sys009aog124.obsmtp.com ([74.125.149.151]:44835 "EHLO na3sys009aog124.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753761Ab1GNHpW (ORCPT ); Thu, 14 Jul 2011 03:45:22 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]) (using TLSv1) by na3sys009aob124.postini.com ([74.125.148.12]) with SMTP ID DSNKTh6ekSgC5V9vDGO48FKAe50myHz2tbsQ@postini.com; Thu, 14 Jul 2011 00:45:22 PDT Received: by mail-yw0-f41.google.com with SMTP id 39so2649545ywm.28 for ; Thu, 14 Jul 2011 00:45:21 -0700 (PDT) Received: by 10.91.159.14 with SMTP id l14mr2136523ago.19.1310629521602; Thu, 14 Jul 2011 00:45:21 -0700 (PDT) Received: from localhost (dragon.ti.com [192.94.94.33]) by mx.google.com with ESMTPS id w10sm7565ano.32.2011.07.14.00.45.19 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Jul 2011 00:45:20 -0700 (PDT) Date: Thu, 14 Jul 2011 10:45:18 +0300 From: Felipe Balbi To: Victhor Cc: linux-omap@vger.kernel.org Subject: Re: OMAP: PM: BUG: 3.0-rc6 does not compile, tusb6010_omap.c fails to compile "musb undeclared" Message-ID: <20110714074517.GB2614@legolas.emea.dhcp.ti.com> Reply-To: balbi@ti.com References: <1310492385.28106.20.camel@victhor-laptop> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1310492385.28106.20.camel@victhor-laptop> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 14 Jul 2011 07:45:26 +0000 (UTC) On Tue, Jul 12, 2011 at 02:39:45PM -0300, Victhor wrote: > | drivers/usb/musb/tusb6010_omap.c: In function 'tusb_omap_use_shared_dmareq': > | drivers/usb/musb/tusb6010_omap.c:92: error: 'musb' undeclared (first use in this function) > | drivers/usb/musb/tusb6010_omap.c:92: error: (Each undeclared identifier is reported only once > | drivers/usb/musb/tusb6010_omap.c:92: error: for each function it appears in.) hmm... how about this ? diff --git a/drivers/usb/musb/tusb6010_omap.c b/drivers/usb/musb/tusb6010_omap.c index c784e6c..07c8a73 100644 --- a/drivers/usb/musb/tusb6010_omap.c +++ b/drivers/usb/musb/tusb6010_omap.c @@ -89,7 +89,7 @@ static inline int tusb_omap_use_shared_dmareq(struct tusb_omap_dma_ch *chdat) u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); if (reg != 0) { - dev_dbg(musb->controller, "ep%i dmareq0 is busy for ep%i\n", + dev_dbg(chdat->musb->controller, "ep%i dmareq0 is busy for ep%i\n", chdat->epnum, reg & 0xf); return -EAGAIN; }