USB: atmel_usba_udc: change way of specifying bias function
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 5 Jun 2009 15:46:16 +0000 (17:46 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:47 +0000 (21:44 -0700)
commite60c65d35951ef3527596442338c371ea16d55ed
tree3302e87318e9b2ebcbb8916b6a29b8565b51d791
parent23a54e567534d4895056df558e2564114513524a
USB: atmel_usba_udc: change way of specifying bias function

The toggle_bias() function was specified differently for avr32 and at91
architectures. Now, new at91 have the same behavior as avr32.
Consequently, we change to a particular chip function definition: only for
at91sam9rl.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/atmel_usba_udc.c