diff options
author | Haavard Skinnemoen <hskinnemoen@atmel.com> | 2007-06-14 12:01:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-12 19:34:38 -0400 |
commit | 55b3fd41b0846929f68b5fb1058ad8077289f584 (patch) | |
tree | 38e36978181273dfcabab8bfceccb6addd20da11 /drivers/usb/gadget/gadget_chips.h | |
parent | 8b3b01c898a44c2fc7217eb579982b9d132113f5 (diff) |
usb gadget: Rename husb2dev -> usba
husb2dev was the internal name of the USB Device Controller on
AT32AP7000. Rename it to "atmel_usba", which is closer to the official
name used in documentation and marketing material.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/gadget_chips.h')
-rw-r--r-- | drivers/usb/gadget/gadget_chips.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/gadget/gadget_chips.h b/drivers/usb/gadget/gadget_chips.h index 9c84b385ca8..53e9139ba38 100644 --- a/drivers/usb/gadget/gadget_chips.h +++ b/drivers/usb/gadget/gadget_chips.h | |||
@@ -82,10 +82,10 @@ | |||
82 | #define gadget_is_pxa27x(g) 0 | 82 | #define gadget_is_pxa27x(g) 0 |
83 | #endif | 83 | #endif |
84 | 84 | ||
85 | #ifdef CONFIG_USB_GADGET_HUSB2DEV | 85 | #ifdef CONFIG_USB_GADGET_ATMEL_USBA |
86 | #define gadget_is_husb2dev(g) !strcmp("husb2_udc", (g)->name) | 86 | #define gadget_is_atmel_usba(g) !strcmp("atmel_usba_udc", (g)->name) |
87 | #else | 87 | #else |
88 | #define gadget_is_husb2dev(g) 0 | 88 | #define gadget_is_atmel_usba(g) 0 |
89 | #endif | 89 | #endif |
90 | 90 | ||
91 | #ifdef CONFIG_USB_GADGET_S3C2410 | 91 | #ifdef CONFIG_USB_GADGET_S3C2410 |
@@ -198,7 +198,7 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget) | |||
198 | return 0x16; | 198 | return 0x16; |
199 | else if (gadget_is_mpc8272(gadget)) | 199 | else if (gadget_is_mpc8272(gadget)) |
200 | return 0x17; | 200 | return 0x17; |
201 | else if (gadget_is_husb2dev(gadget)) | 201 | else if (gadget_is_atmel_usba(gadget)) |
202 | return 0x18; | 202 | return 0x18; |
203 | else if (gadget_is_fsl_usb2(gadget)) | 203 | else if (gadget_is_fsl_usb2(gadget)) |
204 | return 0x19; | 204 | return 0x19; |