forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/ide/umc8672.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 1995-1996 Linus Torvalds & author (see below)
34 */
....@@ -107,7 +108,7 @@
107108 static void umc_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
108109 {
109110 ide_hwif_t *mate = hwif->mate;
110
- unsigned long uninitialized_var(flags);
111
+ unsigned long flags;
111112 const u8 pio = drive->pio_mode - XFER_PIO_0;
112113
113114 printk("%s: setting umc8672 to PIO mode%d (speed %d)\n",