mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-22 20:24:27 +01:00
gpio: add static to get_function()
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
49ddcf3e0e
commit
fb07f97d6e
1 changed files with 2 additions and 2 deletions
|
|
@ -494,8 +494,8 @@ static const char * const gpio_function[GPIOF_COUNT] = {
|
|||
"func",
|
||||
};
|
||||
|
||||
int get_function(struct udevice *dev, int offset, bool skip_unused,
|
||||
const char **namep)
|
||||
static int get_function(struct udevice *dev, int offset, bool skip_unused,
|
||||
const char **namep)
|
||||
{
|
||||
struct gpio_dev_priv *uc_priv = dev_get_uclass_priv(dev);
|
||||
struct dm_gpio_ops *ops = gpio_get_ops(dev);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue