Skip to content

Commit cf80307

Browse files
JochenFriedrichgregkh
authored andcommitted
ARM: at91: Fix USBA gadget registration
commit dd0b382 upstream. Since 193ab2a, various AT91 boards don't register USBA adapters anymore due to depending on a now non-existing symbol. Fix the symbol name. Signed-off-by: Jochen Friedrich <jochen@scram.de> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent 4dc48eb commit cf80307

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎arch/arm/mach-at91/at91cap9_devices.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ void __init at91_add_device_usbh(struct at91_usbh_data *data) {}
9292
* USB HS Device (Gadget)
9393
* -------------------------------------------------------------------- */
9494

95-
#if defined(CONFIG_USB_GADGET_ATMEL_USBA) || defined(CONFIG_USB_GADGET_ATMEL_USBA_MODULE)
95+
#if defined(CONFIG_USB_ATMEL_USBA) || defined(CONFIG_USB_ATMEL_USBA_MODULE)
9696

9797
static struct resource usba_udc_resources[] = {
9898
[0] = {

‎arch/arm/mach-at91/at91sam9g45_devices.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ void __init at91_add_device_usbh_ehci(struct at91_usbh_data *data) {}
191191
* USB HS Device (Gadget)
192192
* -------------------------------------------------------------------- */
193193

194-
#if defined(CONFIG_USB_GADGET_ATMEL_USBA) || defined(CONFIG_USB_GADGET_ATMEL_USBA_MODULE)
194+
#if defined(CONFIG_USB_ATMEL_USBA) || defined(CONFIG_USB_ATMEL_USBA_MODULE)
195195
static struct resource usba_udc_resources[] = {
196196
[0] = {
197197
.start = AT91SAM9G45_UDPHS_FIFO,

‎arch/arm/mach-at91/at91sam9rl_devices.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void __init at91_add_device_hdmac(void) {}
7575
* USB HS Device (Gadget)
7676
* -------------------------------------------------------------------- */
7777

78-
#if defined(CONFIG_USB_GADGET_ATMEL_USBA) || defined(CONFIG_USB_GADGET_ATMEL_USBA_MODULE)
78+
#if defined(CONFIG_USB_ATMEL_USBA) || defined(CONFIG_USB_ATMEL_USBA_MODULE)
7979

8080
static struct resource usba_udc_resources[] = {
8181
[0] = {

0 commit comments

Comments
 (0)