forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/drivers/ide/qd65xx.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright (C) 1996-2001 Linus Torvalds & author (see below)
34 */
....@@ -298,7 +299,7 @@
298299 static void __init qd6580_init_dev(ide_drive_t *drive)
299300 {
300301 ide_hwif_t *hwif = drive->hwif;
301
- u16 t1, t2;
302
+ unsigned long t1, t2;
302303 u8 base = (hwif->config_data & 0xff00) >> 8;
303304 u8 config = QD_CONFIG(hwif);
304305