Skip to contentSkip to conversation

usb: gadget: rename CONFIG_USB_GADGET_PXA25X

PATCH New Paul Bolle 1 participant 1 message May 26, 2014 USB

lore
Share & tools
lore

Paul Bolle

author
#0 lore raw

PATCH 1/1 usb: gadget: rename CONFIG_USB_GADGET_PXA25X

Commit 193ab2a60700 ("usb: gadget: allow multiple gadgets to be built") basically renamed the Kconfig symbol USB_GADGET_PXA25X to USB_PXA25X. It did not rename the related macros in use at that time. Commit c0a39151a405 ("ARM: pxa: fix inconsistent CONFIG_USB_PXA27X") did so for all but one macro. Rename that last macro too now.

Fixes 193ab2a60700 ("usb: gadget: allow multiple gadgets to be built")

---
Untested.

 drivers/usb/gadget/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/gadget/inode.c +1 -1
index a925d0cbcd41..a0863a2d2142 100644
@@ -1501,7 +1501,7 @@ gadgetfs_setup (struct usb_gadget *gadget, const struct usb_ctrlrequest *ctrl)
 		}
 		break;
 
-#ifndef	CONFIG_USB_GADGET_PXA25X
+#ifndef	CONFIG_USB_PXA25X
 	/* PXA automagically handles this request too */
 	case USB_REQ_GET_CONFIGURATION:
 		if (ctrl->bRequestType != 0x80)
Signature · 1 line
1.9.0