patch-2.3.22 linux/drivers/macintosh/mediabay.c

Next file: linux/drivers/macintosh/via-pmu.c
Previous file: linux/drivers/macintosh/mac_keyb.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.21/linux/drivers/macintosh/mediabay.c linux/drivers/macintosh/mediabay.c
@@ -418,8 +418,10 @@
 					   middle of a wait loop */
 					if (bay->reset_timer)
 						bay->reset_timer = MB_RESET_COUNT;
+#ifdef CONFIG_BLK_DEV_IDE
 					if (bay->cd_timer)
 						bay->cd_timer = MB_IDE_WAIT;
+#endif
 				}
 			}
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)