mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
34 lines
941 B
Diff
34 lines
941 B
Diff
|
From fd7823e6993f440930e9cb85e56375be5823485c Mon Sep 17 00:00:00 2001
|
||
|
From: Linus Walleij <linus.walleij@linaro.org>
|
||
|
Date: Sat, 14 Oct 2017 17:13:03 +0200
|
||
|
Subject: [PATCH 02/31] pinctrl: gemini: Add missing functions
|
||
|
|
||
|
Some two functions were missing from the Gemini pin control
|
||
|
driver. Noticed when trying to use ethernet. Fix it up by
|
||
|
adding them.
|
||
|
|
||
|
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
||
|
---
|
||
|
drivers/pinctrl/pinctrl-gemini.c | 10 ++++++++++
|
||
|
1 file changed, 10 insertions(+)
|
||
|
|
||
|
--- a/drivers/pinctrl/pinctrl-gemini.c
|
||
|
+++ b/drivers/pinctrl/pinctrl-gemini.c
|
||
|
@@ -2074,6 +2074,16 @@ static const struct gemini_pmx_func gemi
|
||
|
.num_groups = ARRAY_SIZE(satagrps),
|
||
|
},
|
||
|
{
|
||
|
+ .name = "usb",
|
||
|
+ .groups = usbgrps,
|
||
|
+ .num_groups = ARRAY_SIZE(usbgrps),
|
||
|
+ },
|
||
|
+ {
|
||
|
+ .name = "gmii",
|
||
|
+ .groups = gmiigrps,
|
||
|
+ .num_groups = ARRAY_SIZE(gmiigrps),
|
||
|
+ },
|
||
|
+ {
|
||
|
.name = "pci",
|
||
|
.groups = pcigrps,
|
||
|
.num_groups = ARRAY_SIZE(pcigrps),
|