Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 132e4b0a authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Linus Torvalds
Browse files

cdrom: replace hard-coded constants by kernel.h macro.



Signed-off-by: default avatarRobert P. J. Day <rpjday@mindspring.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4e44f349
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -414,8 +414,8 @@ struct cdrom_generic_command
#define CDO_CHECK_TYPE		0x10    /* check type on open for data */

/* Special codes used when specifying changer slots. */
#define CDSL_NONE       	((int) (~0U>>1)-1)
#define CDSL_CURRENT    	((int) (~0U>>1))
#define CDSL_NONE       	(INT_MAX-1)
#define CDSL_CURRENT    	INT_MAX

/* For partition based multisession access. IDE can handle 64 partitions
 * per drive - SCSI CD-ROM's use minors to differentiate between the