]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-cd: merge cdrom_write_check_ireason() and cdrom_read_check_ireason()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:28 +0000 (23:09 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 1 Feb 2008 22:09:28 +0000 (23:09 +0100)
commit0d6f7e3a1845165b81adab3fc5fd13916f22aa61
tree6c746e8d55b002bb8e2867de97cfece137a26018
parent0041e7c6ca9719309bef6a4754e4eb9566b37ae1
ide-cd: merge cdrom_write_check_ireason() and cdrom_read_check_ireason()

Add 'rw' parameter to cdrom_read_check_ireason(), make it handle
both read and write checking, rename it to ide_cd_check_ireason(),
finally remove no longer needed cdrom_write_check_ireason().

There should be no functionality changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c