.. | .. |
---|
177 | 177 | /* irq statistics */ |
---|
178 | 178 | #ifdef FOTG210_STATS |
---|
179 | 179 | struct fotg210_stats stats; |
---|
180 | | -# define COUNT(x) ((x)++) |
---|
| 180 | +# define INCR(x) ((x)++) |
---|
181 | 181 | #else |
---|
182 | | -# define COUNT(x) |
---|
| 182 | +# define INCR(x) do {} while (0) |
---|
183 | 183 | #endif |
---|
| 184 | + |
---|
| 185 | + /* silicon clock */ |
---|
| 186 | + struct clk *pclk; |
---|
184 | 187 | |
---|
185 | 188 | /* debug files */ |
---|
186 | 189 | struct dentry *debug_dir; |
---|
.. | .. |
---|
487 | 490 | struct fotg210_iso_sched { |
---|
488 | 491 | struct list_head td_list; |
---|
489 | 492 | unsigned span; |
---|
490 | | - struct fotg210_iso_packet packet[0]; |
---|
| 493 | + struct fotg210_iso_packet packet[]; |
---|
491 | 494 | }; |
---|
492 | 495 | |
---|
493 | 496 | /* |
---|