Linux kernel vendor specific hardware reset module for sequences that are too complex/complicated to land in pci_quirks.c
GNU General Public License v2.0
764
stars
65
forks
source link
Fix GCC declaration-after-statement error #58
Closed
alyssais closed 2 years ago
Since upgrading to Linux v5.18 in Nixpkgs, we've been seeing an "ISO C90 forbids mixed declarations and code" error from GCC.
This patch fixes it by initializing regs as part of its declaration, meaning hook will no longer be declared after a statement.
Signed-off-by: Alyssa Ross hi@alyssa.is