1  struct msm_gpu {
       2    // [...snip...]
       3    const struct msm_gpu_perfcntr *perfcntrs;
       4    // [...snip...]
       5  };
       6  
       7  struct msm_gpu_perfcntr {
       8    // [...snip...]
       9    const char *name;
      10  };
      11  
      12  static const struct msm_gpu_perfcntr perfcntrs[] = {};
      13  
      14  struct msm_gpu *test(struct msm_gpu *gpu) {
      15    // [...snip...]
      16    gpu->perfcntrs = perfcntrs;
      17    // [...snip...]
      18    return gpu;
      19  }