[PATCH] USB: fix drivers/usb/gadget/ether.c compile error
authorDavid Brownell <david-b@pacbell.net>
Mon, 16 May 2005 15:26:38 +0000 (08:26 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 27 Jun 2005 21:43:59 +0000 (14:43 -0700)
commit45e45ab45c266642276d01e56d9fb5dccbfad960
tree146b07b7ffde3ab3b38b3159aca5db7b5e3467ae
parent391eca9d8892a940ff8dbfee2ca78942e05c2d37
[PATCH] USB: fix drivers/usb/gadget/ether.c compile error

This fixes a compile glitch with CONFIG_USB_ETH_RNDIS disabled, and
replaces some inline #ifdeffery (and other code) with inline functions
which can evaluate to constants.

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