* [PATCH] drivers/cdrom/sjcd.c check_region() fix - take 2
@ 2003-12-29 22:58 Omkhar Arasaratnam
0 siblings, 0 replies; only message in thread
From: Omkhar Arasaratnam @ 2003-12-29 22:58 UTC (permalink / raw)
To: emoenke; +Cc: linux-kernel, trivial
My apologize for the first patch, this one should work better
(and be kinder to patch :)
--- linux-clean/drivers/cdrom/sjcd.c.org 2003-12-29 17:32:00.000000000 -0500
+++ linux-clean/drivers/cdrom/sjcd.c 2003-12-29 17:53:42.000000000 -0500
@@ -1700,7 +1700,7 @@
sprintf(sjcd_disk->disk_name, "sjcd");
sprintf(sjcd_disk->devfs_name, "sjcd");
- if (check_region(sjcd_base, 4)) {
+ if (!request_region(sjcd_base, 4,"sjcd")) {
printk
("SJCD: Init failed, I/O port (%X) is already in use\n",
sjcd_base);
O
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-29 22:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-29 22:58 [PATCH] drivers/cdrom/sjcd.c check_region() fix - take 2 Omkhar Arasaratnam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®