public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sven Schnelle <svens@stackframe.org>
To: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Cc: linux-kernel@vger.kernel.org, Sven Schnelle <svens@stackframe.org>
Subject: [PATCH 2/2] [AVR32] Fix typo in atmel_usba_udc.c
Date: Mon, 22 Nov 2010 00:28:07 +0100	[thread overview]
Message-ID: <1290382087-3849-3-git-send-email-svens@stackframe.org> (raw)
In-Reply-To: <1290382087-3849-1-git-send-email-svens@stackframe.org>

It should be 'udc' not 'ubc' in usba_udc_probe()

Signed-off-by: Sven Schnelle <svens@stackframe.org>
---
 drivers/usb/gadget/atmel_usba_udc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c
index b5e20e8..717ff65 100644
--- a/drivers/usb/gadget/atmel_usba_udc.c
+++ b/drivers/usb/gadget/atmel_usba_udc.c
@@ -2017,7 +2017,7 @@ static int __init usba_udc_probe(struct platform_device *pdev)
 			}
 		} else {
 			/* gpio_request fail so use -EINVAL for gpio_is_valid */
-			ubc->vbus_pin = -EINVAL;
+			udc->vbus_pin = -EINVAL;
 		}
 	}
 
-- 
1.7.2.3


  parent reply	other threads:[~2010-11-21 23:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-21 23:28 AVR32 build fixes Sven Schnelle
2010-11-21 23:28 ` [PATCH 1/2] AVR32: Fix sys_execve breakage Sven Schnelle
2010-12-09  6:03   ` Hans-Christian Egtvedt
2010-12-09  8:26     ` [Patch v2] AVR32: fix sys_execve build breakage svens
2010-12-09  8:26     ` [PATCH] AVR32: Fix sys_execve breakage svens
2010-12-09  8:42       ` Hans-Christian Egtvedt
2010-12-09  8:28     ` svens
2010-11-21 23:28 ` Sven Schnelle [this message]
2010-11-22  7:19   ` [PATCH 2/2] [AVR32] Fix typo in atmel_usba_udc.c Hans-Christian Egtvedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1290382087-3849-3-git-send-email-svens@stackframe.org \
    --to=svens@stackframe.org \
    --cc=hans-christian.egtvedt@atmel.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox