diff options
| author | Bartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl> | 2003-08-30 22:16:39 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-08-30 22:16:39 -0700 |
| commit | da182e0fcc78be2f7cc98c52662fa56a264463fd (patch) | |
| tree | b2b711574b2c6ae5c000421602af5e231dbf602a | |
| parent | 27dbff0ee11bb702ed59bdf2ab431d5ad05104f1 (diff) | |
[PATCH] fix ide.c warning when compiling IDE for non-PCI systems
From Stephane Ouellette <ouellettes@videotron.ca>.
| -rw-r--r-- | drivers/ide/ide.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index dd0ad3ff074c..dd31a8463c3f 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -180,7 +180,9 @@ static int initializing; /* set while initializing built-in drivers */ 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; |
