Skip to content
Snippets Groups Projects
Commit e0e89e23 authored by Mike Dunn's avatar Mike Dunn Committed by Marek Vasut
Browse files

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: default avatarMike Dunn <mikedunn@newsguy.com>
parent 86e929e8
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment