clk: qcom: Introduce parent_map tables
[deliverable/linux.git] / drivers / clk / qcom / lcc-ipq806x.c
index 19378b080dd7606a83fa930543d70f391019e0bd..e4ac699666d54a11ab039faca27d03994f9e081b 100644 (file)
@@ -61,12 +61,14 @@ static const struct pll_config pll4_config = {
        .main_output_mask = BIT(23),
 };
 
-#define P_PXO  0
-#define P_PLL4 1
+enum {
+       P_PXO,
+       P_PLL4,
+};
 
-static const u8 lcc_pxo_pll4_map[] = {
-       [P_PXO]         = 0,
-       [P_PLL4]        = 2,
+static const struct parent_map lcc_pxo_pll4_map[] = {
+       { P_PXO, 0 },
+       { P_PLL4, 2 }
 };
 
 static const char *lcc_pxo_pll4[] = {
This page took 0.024298 seconds and 5 git commands to generate.