pinctrl: tegra: Duplicate pinmux functions table
[platform/kernel/linux-rpi.git] / drivers / pinctrl / tegra / pinctrl-tegra114.c
index e72ab1e..3d425b2 100644 (file)
@@ -1452,12 +1452,9 @@ enum tegra_mux {
        TEGRA_MUX_VI_ALT3,
 };
 
-#define FUNCTION(fname)                                        \
-       {                                               \
-               .name = #fname,                         \
-       }
+#define FUNCTION(fname) #fname
 
-static struct tegra_function tegra114_functions[] = {
+static const char * const tegra114_functions[] = {
        FUNCTION(blink),
        FUNCTION(cec),
        FUNCTION(cldvfs),