patch-2.1.70 linux/drivers/cdrom/aztcd.c

Next file: linux/drivers/cdrom/aztcd.h
Previous file: linux/drivers/cdrom/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.69/linux/drivers/cdrom/aztcd.c linux/drivers/cdrom/aztcd.c
@@ -163,7 +163,7 @@
 #define MAJOR_NR AZTECH_CDROM_MAJOR 
 
 #include <linux/blk.h>
-#include <linux/aztcd.h>
+#include "aztcd.h"
 
 #include <linux/module.h>
 #include <linux/errno.h>
@@ -2266,7 +2266,7 @@
 
 static long azt_msf2hsg(struct msf *mp)
 { return azt_bcd2bin(mp -> frame) + azt_bcd2bin(mp -> sec) * 75
-		                  + azt_bcd2bin(mp -> min) * 4500 - CD_BLOCK_OFFSET;
+		                  + azt_bcd2bin(mp -> min) * 4500 - CD_MSF_OFFSET;
 }
 
 static void azt_bin2bcd(unsigned char *p)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov