hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/usb/host/fotg210.h
....@@ -177,10 +177,13 @@
177177 /* irq statistics */
178178 #ifdef FOTG210_STATS
179179 struct fotg210_stats stats;
180
-# define COUNT(x) ((x)++)
180
+# define INCR(x) ((x)++)
181181 #else
182
-# define COUNT(x)
182
+# define INCR(x) do {} while (0)
183183 #endif
184
+
185
+ /* silicon clock */
186
+ struct clk *pclk;
184187
185188 /* debug files */
186189 struct dentry *debug_dir;
....@@ -487,7 +490,7 @@
487490 struct fotg210_iso_sched {
488491 struct list_head td_list;
489492 unsigned span;
490
- struct fotg210_iso_packet packet[0];
493
+ struct fotg210_iso_packet packet[];
491494 };
492495
493496 /*