projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pinctrl: tegra: Duplicate pinmux functions table
[platform/kernel/linux-rpi.git]
/
drivers
/
pinctrl
/
tegra
/
pinctrl-tegra210.c
diff --git
a/drivers/pinctrl/tegra/pinctrl-tegra210.c
b/drivers/pinctrl/tegra/pinctrl-tegra210.c
index
b480f60
..
9bb2914
100644
(file)
--- a/
drivers/pinctrl/tegra/pinctrl-tegra210.c
+++ b/
drivers/pinctrl/tegra/pinctrl-tegra210.c
@@
-1185,12
+1185,9
@@
enum tegra_mux {
TEGRA_MUX_VIMCLK2,
};
TEGRA_MUX_VIMCLK2,
};
-#define FUNCTION(fname) \
- { \
- .name = #fname, \
- }
+#define FUNCTION(fname) #fname
-static
struct tegra_function
tegra210_functions[] = {
+static
const char * const
tegra210_functions[] = {
FUNCTION(aud),
FUNCTION(bcl),
FUNCTION(blink),
FUNCTION(aud),
FUNCTION(bcl),
FUNCTION(blink),