patch-1.3.28 linux/drivers/block/aztcd.c

Next file: linux/drivers/block/blk.h
Previous file: linux/drivers/block/README.ide
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.27/linux/drivers/block/aztcd.c linux/drivers/block/aztcd.c
@@ -195,7 +195,7 @@
 #endif
 
 #define CURRENT_VALID \
-  (CURRENT && MAJOR(CURRENT -> dev) == MAJOR_NR && CURRENT -> cmd == READ \
+  (CURRENT && MAJOR(CURRENT -> rq_dev) == MAJOR_NR && CURRENT -> cmd == READ \
    && CURRENT -> sector != -1)
 
 #define AFL_STATUSorDATA (AFL_STATUS | AFL_DATA)
@@ -547,7 +547,7 @@
 /* 
  * Checking if the media has been changed not yet implemented
 */
-static int check_aztcd_media_change(dev_t full_dev)
+static int check_aztcd_media_change(kdev_t full_dev)
 { return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this