]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
pxa27x_udc: remove call to unimplemented set_GPIO_mode()
authorMike Dunn <mikedunn@newsguy.com>
Fri, 12 Apr 2013 18:59:15 +0000 (11:59 -0700)
committerMarek Vasut <marex@denx.de>
Sun, 5 May 2013 21:47:05 +0000 (23:47 +0200)
commite0e89e236f9692eb0af034c59607e2db2e333c1d
treedab4925c8d6bb5b85a8bbcf02ea16aaea9453856
parent86e929e8252c9b2a6e74a9d53c9ef8a9d5353602
pxa27x_udc: remove call to unimplemented set_GPIO_mode()

If CONFIG_USB_DEV_PULLUP_GPIO is defined, a link error occurs because the
set_GPIO_mode() helper function is not implemented.  This function doesn't do
much except make the code a little more readable, so I just manually coded its
equivalent and removed the prototype from the header file.  It is invoked no
where else in the code.

While I was at it, I noticed that two other function prototypes in the same
header file are also neither implemented nor invoked anywhere, so I removed them
as well.

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
arch/arm/include/asm/arch-pxa/hardware.h
drivers/usb/gadget/pxa27x_udc.c