title: expected expression before '{' token
body: <p>I am getting: "error: expected expression before '{' token" for the line I've commented before. If the struct is already defined why would it need a "{" before token. Thanks for any help you can provide.</p>
  
  <pre><code>struct sdram_timing {
      u32 wrdtr;
      u32 clktr;
  };
  
  int calibration(void);
  unsigned char read_i2c_cal(void);
  static unsigned int eepcal[15];
  
  main() {
      DQS_autocalibration();
  }
  
  int calibration(void)
  {
      struct sdram_timing scan_list[30];
  
      read_i2c_cal();
      if(eepcal[0] == 0){
  
         scan_list = {{eepcal[1], eepcal[2]}, {-1, -1}}; // &lt;-- PROBLEM LINE
  
          }
          else {
              //foo
          }
  
      return 0;
  }
  
  unsigned char read_i2c_cal(void) {
      eepcal[0] = 0;
      eepcal[1] = 02;
      eepcal[2] = 03;
  }
  </code></pre>