From patchwork Sun Jul 17 15:28:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Trofimovich X-Patchwork-Id: 984242 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 p6HFPbgA017397 for ; Sun, 17 Jul 2011 15:25:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755623Ab1GQPZU (ORCPT ); Sun, 17 Jul 2011 11:25:20 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:48584 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752324Ab1GQPZT (ORCPT ); Sun, 17 Jul 2011 11:25:19 -0400 Received: from gentoo.org (unknown [178.125.240.77]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: slyfox) by smtp.gentoo.org (Postfix) with ESMTPSA id 5BCE91B4006; Sun, 17 Jul 2011 15:25:15 +0000 (UTC) Received: by gentoo.org (sSMTP sendmail emulation); Sun, 17 Jul 2011 18:28:23 +0300 From: Sergei Trofimovich To: Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Sergei Trofimovich Subject: [resend PATCH] tusb6010_omap: fix build failure: error: 'musb' undeclared Date: Sun, 17 Jul 2011 18:28:00 +0300 Message-Id: <1310916480-3477-1-git-send-email-slyich@gmail.com> X-Mailer: git-send-email 1.7.3.4 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]); Sun, 17 Jul 2011 15:25:38 +0000 (UTC) From: Sergei Trofimovich CC drivers/usb/musb/tusb6010_omap.o 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.) Signed-off-by: Sergei Trofimovich --- drivers/usb/musb/tusb6010_omap.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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; }