* [TRIVIAL PATCH 2.5.47] Fix char/raw.c to build as module
@ 2002-11-13 22:25 Bob Miller
0 siblings, 0 replies; only message in thread
From: Bob Miller @ 2002-11-13 22:25 UTC (permalink / raw)
To: trivial; +Cc: linux-kernel
Small fixes that lets the raw driver be built as a module.
diff -Nru a/drivers/char/raw.c b/drivers/char/raw.c
--- a/drivers/char/raw.c Wed Nov 13 14:09:57 2002
+++ b/drivers/char/raw.c Wed Nov 13 14:09:57 2002
@@ -103,7 +103,7 @@
{
struct block_device *bdev = filp->private_data;
- return blkdev_ioctl(bdev->bd_inode, NULL, command, arg);
+ return ioctl_by_bdev(bdev->bd_inode, command, arg);
}
/*
@@ -241,3 +241,4 @@
module_init(raw_init);
module_exit(raw_exit);
+MODULE_LICENSE("GPL");
--
Bob Miller Email: rem@osdl.org
Open Source Development Lab Phone: 503.626.2455 Ext. 17
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-13 22:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-13 22:25 [TRIVIAL PATCH 2.5.47] Fix char/raw.c to build as module Bob Miller
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®