From 9ceeb5e05a40de3b73ec56f9c38a32bbd830da61 Mon Sep 17 00:00:00 2001 From: Tony Lindgren Date: Mon, 13 Aug 2007 05:02:09 -0700 Subject: [PATCH] musb_hdrc: Search and replace bSetAddress with set_address Search and replace bSetAddress with set_address Signed-off-by: Tony Lindgren --- drivers/usb/musb/g_ep0.c | 8 ++++---- drivers/usb/musb/musbdefs.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/musb/g_ep0.c b/drivers/usb/musb/g_ep0.c index 0d77bae3cc2..5f47b0ac652 100644 --- a/drivers/usb/musb/g_ep0.c +++ b/drivers/usb/musb/g_ep0.c @@ -239,7 +239,7 @@ __acquires(musb->lock) switch (ctrlrequest->bRequest) { case USB_REQ_SET_ADDRESS: /* change it after the status stage */ - musb->bSetAddress = TRUE; + musb->set_address = TRUE; musb->address = (u8) (ctrlrequest->wValue & 0x7f); handled = 1; break; @@ -559,7 +559,7 @@ musb_read_setup(struct musb *musb, struct usb_ctrlrequest *req) * the TX FIFO right away, and give the controller a moment * to switch modes... */ - musb->bSetAddress = FALSE; + musb->set_address = FALSE; musb->ackpend = MGC_M_CSR0_P_SVDRXPKTRDY; if (req->wLength == 0) { if (req->bRequestType & USB_DIR_IN) @@ -661,8 +661,8 @@ irqreturn_t musb_g_ep0_irq(struct musb *musb) * we get 10 msec to receive this irq... until this * is done we won't see the next packet. */ - if (musb->bSetAddress) { - musb->bSetAddress = FALSE; + if (musb->set_address) { + musb->set_address = FALSE; musb_writeb(mbase, MGC_O_HDRC_FADDR, musb->address); } diff --git a/drivers/usb/musb/musbdefs.h b/drivers/usb/musb/musbdefs.h index 2465e230485..79e8da2ed9d 100644 --- a/drivers/usb/musb/musbdefs.h +++ b/drivers/usb/musb/musbdefs.h @@ -437,7 +437,7 @@ struct musb { unsigned is_self_powered:1; unsigned is_bus_powered:1; - unsigned bSetAddress:1; + unsigned set_address:1; unsigned test_mode:1; unsigned softconnect:1; -- 2.41.1