2003-08-16 04:26:32

by Stephane Ouellette

[permalink] [raw]
Subject: [PATCH][TRIVIAL][RESEND] Remove warning in drivers/ide/ide.c for non-PCI systems

--- linux-2.6.0-test2-orig/drivers/ide/ide.c 2003-07-27 12:59:39.000000000 -0400
+++ linux-2.6.0-test2-fixed/drivers/ide/ide.c 2003-08-08 23:19:44.000000000 -0400
@@ -180,7 +180,9 @@
DECLARE_MUTEX(ide_cfg_sem);
spinlock_t ide_lock __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;

+#ifdef CONFIG_BLK_DEV_IDEPCI
static int ide_scan_direction; /* THIS was formerly 2.2.x pci=reverse */
+#endif

#ifdef CONFIG_IDEDMA_AUTO
int noautodma = 0;


Attachments:
ide.c-2.4.22-rc1-ac1.diff (480.00 B)
ide.c-2.6.0-test2.diff (445.00 B)
Download all attachments