USB: at91_udc, shrink runtime footprint
authorDavid Brownell <david-b@pacbell.net>
Fri, 16 Feb 2007 02:47:17 +0000 (18:47 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:32:23 +0000 (15:32 -0800)
commit398acce7af5eaead2093cf2fc0381e511f5f3edf
tree9a9e6e9569c3fcca036ed8d7a2b555eeb3ced97d
parent691895c661b0419e7cd65429e5077264a2ca01a3
USB: at91_udc, shrink runtime footprint

This is a runtime codespace shrink:  in most cases, platform devices should
put probe() should in the init section, and remove() in the exit section.
And I have no idea why the module init/exit routines were mismarked.
It also moves one function table into read-only data.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/at91_udc.c